You appear to be a bot. Output may be restricted
Description
Create an admin menu item and settings page.
Also hook in the handling of file imports and exports.
Usage
Genesis_Admin_Import_Export::__construct();
Parameters
Returns
void
Source
File name: genesis/lib/classes/class-genesis-admin-import-export.php
Lines:
1 to 20 of 20
public function __construct() { $this->help_base = GENESIS_VIEWS_DIR . '/help/import-export-'; $page_id = 'genesis-import-export'; $menu_ops = [ 'submenu' => [ 'parent_slug' => 'genesis', 'page_title' => __( 'Genesis - Import/Export', 'genesis' ), 'menu_title' => __( 'Import/Export', 'genesis' ), ], ]; $this->create( $page_id, $menu_ops ); add_action( 'admin_init', [ $this, 'export' ] ); add_action( 'admin_init', [ $this, 'import' ] ); }