PluginProbe
WP Coder – Insert & Manage Code Snippets / 3.5.1
WP Coder – Insert & Manage Code Snippets v3.5.1
4.5.1 1.1 2.3.1 2.3.2 2.4.1 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1 3.1.1 3.2 3.2.1 3.3 3.4 3.5 3.5.1 All 39 releases
wp-coder / includes / pages / 4.import-export.php

4.import-export.php in WP Coder – Insert & Manage Code Snippets 3.5.1, at includes/pages/4.import-export.php

50 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Page Name: Import/Export
4 *
5 */
6
7 use WPCoder\Dashboard\DashboardInitializer;
8 use WPCoder\Dashboard\ImporterExporter;
9 use WPCoder\WPCoder;
10
11 defined( 'ABSPATH' ) || exit;
12 ?>
13
14 <div class="wowp-header-wrapper">
15 <?php DashboardInitializer::header(); ?>
16
17 <div class="wowp-header-title">
18 <h2><?php esc_html_e( 'Import / Export', 'wpcoder' ); ?></h2>
19 </div>
20
21 </div>
22
23 <div class="wrap wowp-wrap">
24 <div class="w_block w_has-border">
25
26 <div class="inside">
27 <h3><span class="dashicons dashicons-database-export"></span> <span><?php esc_attr_e( 'Export Settings', 'wpcoder' ); ?></span></h3>
28 <div class="inside">
29 <p><?php
30 printf( esc_attr__( 'Export the settings for %s as a .json file. This allows you to easily import the configuration into another site.', 'wpcoder' ), '<b>' . esc_attr( WPCoder::info( 'name' ) ) . '</b>' ); ?></p>
31 <?php ImporterExporter::form_export(); ?>
32 </div>
33 </div>
34 <hr>
35
36 <div class="inside">
37 <h3><span class="dashicons dashicons-database-import"></span> <span><?php esc_attr_e( 'Import Settings', 'wpcoder' ); ?></span></h3>
38 <div class="inside">
39 <p><?php
40 printf( esc_attr__( 'Import the %s settings from a .json file. This file can be obtained by exporting the settings on another site using the form above.', 'wpcoder' ), '<b>' . esc_attr( WPCoder::info( 'name' ) ) . '</b> ' ); ?></p>
41 <?php ImporterExporter::form_import(); ?>
42 </div>
43 </div>
44
45
46 </div>
47 </div>
48
49 <?php
50