PluginProbe
Float menu – awesome floating side menu / 6.1
Float menu – awesome floating side menu v6.1
7.2.5 trunk 2.1 2.2 3.0.1 3.1 3.2.2 3.3.1 3.5 3.5.1 3.5.2 3.5.3. 3.5.4 4.0 4.1 4.1.1 4.2 4.3 4.3.1 4.3.2 5.0 5.0.1 5.0.2 5.0.3 5.1 All 57 releases
float-menu / admin / pages / 3.tools.php

3.tools.php in Float menu – awesome floating side menu 6.1, at admin/pages/3.tools.php

42 lines 1.4 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 FloatMenuLite\Admin\ImporterExporter;
8 use FloatMenuLite\WOWP_Plugin;
9
10 defined( 'ABSPATH' ) || exit;
11
12 ?>
13
14 <div class="wpie-block-tool">
15
16 <div class="inside">
17 <h3><span class="dashicons dashicons-database-export wpie-color-orange"></span>
18 <span><?php esc_html_e( 'Export Settings', 'float-menu' ); ?></span></h3>
19 <div class="inside">
20 <p><?php
21 /* translators: %s: plugin name */
22 printf( esc_html__( 'Export the settings for %s as a .json file. This allows you to easily import the configuration into another site.', 'float-menu' ), '<b>' . esc_attr( WOWP_Plugin::info( 'name' ) ) . '</b>' ); ?></p>
23 <?php ImporterExporter::form_export(); ?>
24 </div>
25 </div>
26 <hr>
27
28 <div class="inside">
29 <h3><span class="dashicons dashicons-database-import wpie-color-orange"></span>
30 <span><?php esc_html_e( 'Import Settings', 'float-menu' ); ?></span></h3>
31 <div class="inside">
32 <p><?php
33 /* translators: %s: plugin name */
34 printf( esc_html__( 'Import the %s settings from a .json file. This file can be obtained by exporting the settings on another site using the form above.', 'float-menu' ), '<b>' . esc_attr( WOWP_Plugin::info( 'name' ) ) . '</b> ' ); ?></p>
35 <?php ImporterExporter::form_import(); ?>
36 </div>
37 </div>
38
39 </div>
40
41 <?php
42