diff --git a/inc/Init.php b/inc/Init.php index 41abe5f..16b9b5d 100644 --- a/inc/Init.php +++ b/inc/Init.php @@ -11,6 +11,7 @@ public static function get_services() return [ Pages\Admin::class, Pages\Customizer::class, + Pages\ExportImport::class, Base\SettingsLinks::class, Base\Enqueue::class ]; diff --git a/inc/Pages/ExportImport.php b/inc/Pages/ExportImport.php new file mode 100644 index 0000000..fc2f86a --- /dev/null +++ b/inc/Pages/ExportImport.php @@ -0,0 +1,22 @@ +plugin_path/templates/exportImport.php"; + } + + function addExportImportPage() { + add_submenu_page( 'wpcui', 'Export/Import', 'Export/Import', 'manage_options', 'wpcui-export-import', [$this, 'exportImportIndex'] ); + } +} \ No newline at end of file diff --git a/templates/exportImport.php b/templates/exportImport.php new file mode 100644 index 0000000..5d13418 --- /dev/null +++ b/templates/exportImport.php @@ -0,0 +1,6 @@ +