Tools_Page
Tools page.
Namespace: WebberZone\Snippetz\Admin
Source: includes/admin/class-tools-page.php line 22
Methods
__construct()
Constructor.
Line: 36
public function __construct( );
add_tools_page()
Add tools page.
Line: 48
public function add_tools_page( );
render_page()
Render the tools page.
Since: 2.3.0
Line: 74
public function render_page( ): void;
Returns: void
regenerate_combined()
Regenerate combined files.
Line: 245
public function regenerate_combined( );
process_settings_export()
Process a settings export that generates a .json file of the plugin settings.
Since: 2.3.0
Line: 279
public function process_settings_export( );
process_settings_import()
Process a settings import from a json file.
Since: 2.3.0
Line: 307
public function process_settings_import( );
admin_enqueue_scripts()
Enqueue scripts and styles.
Since: 2.3.0
Line: 356
public function admin_enqueue_scripts( $hook );
| Type | Name | Description |
|---|---|---|
string | $hook | The current screen hook. |
clear_assets()
Clear generated assets and cached data.
Since: 2.3.0
Line: 369
public function clear_assets( );