Recent

Import_Exportclass

Import_Export

Import Export functions.

Namespace: WebberZone\Top_Ten\Admin
Since: 3.3.0
Source: includes/admin/class-import-export.php line 24

Methods

__construct()

Constructor class.

Since: 3.3.0
Line: 40

public function __construct(  );

admin_enqueue_scripts()

Enqueue scripts in admin area.

Since: 4.0.0
Line: 59

public function admin_enqueue_scripts( $hook );
Type Name Description
string $hook The current admin page.

admin_menu()

Admin Menu.

Since: 3.3.0
Line: 72

public function admin_menu(  );

network_admin_menu()

Admin Menu.

Since: 3.3.0
Line: 89

public function network_admin_menu(  );

render_page()

Render the tools settings page.

Since: 2.7.0
Line: 107

public function render_page(  ): void;

Returns: void

export_tables() static

Process a settings export that generates a .csv file of the Top 10 table.

Since: 2.7.0
Line: 268

static public function export_tables(  );

import_tables() static

Process a .csv file to import the table into the database.

Since: 2.7.0
Line: 341

static public function import_tables(  );

process_settings_export() static

Process a settings export that generates a .json file of the Top 10 settings

Since: 2.7.0
Line: 505

static public function process_settings_export(  );

process_settings_import() static

Process a settings import from a json file

Since: 2.7.0
Line: 537

static public function process_settings_import(  );