Recent

GitHub_PageclassPro only

GitHub_Page

GitHub_Page class.

Registers a single “GitHub” submenu item and renders Import / Export as standard link-based tabs (each click is a full page load).

Namespace: WebberZone\Knowledge_Base\Pro\GitHub
Since: 3.1.0
Source: includes/pro/github/class-github-page.php line 24

Methods

__construct()

Constructor.

Since: 3.1.0
Line: 55

public function __construct( Import_Wizard $import_wizard, Export_Wizard $export_wizard );
Type Name Description
Import_Wizard $import_wizard Import wizard instance.
Export_Wizard $export_wizard Export wizard instance.

register_page()

Register the unified GitHub submenu page.

Since: 3.1.0
Line: 68

public function register_page(  ): void;

Returns: void

enqueue_scripts()

Enqueue scripts for the active tab.

Since: 3.1.0
Line: 86

public function enqueue_scripts( string $hook_suffix ): void;
Type Name Description
string $hook_suffix Current admin page hook suffix.

Returns: void

render_page()

Render the GitHub page with tab navigation.

Since: 3.1.0
Line: 106

public function render_page(  ): void;

Returns: void