Tools_Page
Tools Page Class.
Namespace: WebberZone\Knowledge_Base\Admin
Since: 3.0.0
Source: includes/admin/class-tools-page.php line 25
Methods
__construct()
Constructor class.
Since: 3.0.0
Line: 41
public function __construct( );
admin_menu()
Admin Menu.
Since: 3.0.0
Line: 55
public function admin_menu( );
admin_enqueue_scripts()
Enqueue scripts in admin area.
Since: 3.0.0
Line: 75
public function admin_enqueue_scripts( $hook );
| Type | Name | Description |
|---|---|---|
string | $hook | The current admin page. |
render_page()
Render the tools page.
Since: 3.0.0
Line: 88
public function render_page( ): void;
Returns: void
process_cache_tools()
Process cache tools form submissions.
Since: 3.0.0
Line: 156
public function process_cache_tools( ): void;
Returns: void
render_cache_tools()
Render the cache tools section on the tools page.
Since: 3.0.0
Line: 189
public function render_cache_tools( ): void;
Returns: void
help_tabs() static
Add help tabs.
Since: 3.0.0
Line: 222
static public function help_tabs( );
render_product_migration_card()
Render the Product Migration card on the tools page, only if migration is pending.
Since: 3.1.0
Line: 264
public function render_product_migration_card( ): void;
Returns: void
render_importers_card()
Render the Import from Another Plugin card on the tools page.
Since: 3.1.0
Line: 291
public function render_importers_card( ): void;
Returns: void