PluginProbe
WP Coder – Insert & Manage Code Snippets / 3.0.5
WP Coder – Insert & Manage Code Snippets v3.0.5
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 / 3.tools.php

3.tools.php in WP Coder – Insert & Manage Code Snippets 3.0.5, at includes/pages/3.tools.php

40 lines 1.3 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\ImporterExporter;
8 use WPCoder\WOW_Plugin;
9
10 defined( 'ABSPATH' ) || exit;
11
12 ?>
13
14 <div class="w_block w_has-border">
15
16 <div class="inside">
17 <h3><span><?php esc_attr_e( 'Export Settings', 'wpcoder' ); ?></span></h3>
18 <div class="inside">
19 <p><?php
20 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( WOW_Plugin::NAME ) . '</b>' ); ?></p>
21 <?php ImporterExporter::form_export(); ?>
22 </div>
23 </div>
24 <hr>
25
26 <div class="inside">
27 <h3><span><?php esc_attr_e( 'Import Settings', 'wpcoder' ); ?></span></h3>
28 <div class="inside">
29 <p><?php
30 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( WOW_Plugin::NAME ) . '</b> ' ); ?></p>
31 <?php ImporterExporter::form_import(); ?>
32 </div>
33 </div>
34
35
36
37 </div>
38
39 <?php
40