Recent

ProclassPro only

Pro

Main Pro class for premium features.

Namespace: WebberZone\Knowledge_Base\Pro
Since: 3.0.0
Source: includes/pro/class-pro.php line 21

Methods

__construct()

Constructor.

Line: 111

public function __construct(  );

hooks()

Register hooks.

Since: 3.0.0
Line: 192

public function hooks(  );

register_widgets() static

Register Pro widgets.

Since: 3.0.0
Line: 204

static public function register_widgets(  );

register_pro_styles() static

Register Pro styles in the settings dropdown.

Since: 3.0.0
Line: 217

static public function register_pro_styles( $styles ): array;
Type Name Description
array $styles Existing styles array.

Returns: array — Modified styles array.

get_pro_style_url() static

Get Pro style URL if the style is a Pro style.

Since: 3.0.0
Line: 241

static public function get_pro_style_url( $style_url, $style_name, $filename ): string;
Type Name Description
string $style_url The default style URL.
string $style_name The style name.
string $filename The filename with suffixes.

Returns: string — Modified style URL.

update_settings_description()

Update Settings description.

Since: 3.0.0
Line: 262

public function update_settings_description( $html, $args ): string;
Type Name Description
string $html HTML output.
array $args Arguments array.

Returns: string — Updated HTML output.

uninstall_pro() static

Uninstall Pro features.

Called when the plugin is uninstalled via Freemius.

Since: 3.0.0
Line: 285

static public function uninstall_pro(  );