Recent

Help_Widget class Pro only

Help_Widget

Help Widget Class.

Namespace: WebberZone\Knowledge_Base\Pro\Help_Widget
Since: 3.0.0
Source: includes/help-widget/class-help-widget.php line 24

Methods

__construct()

Constructor.

Since: 3.0.0
Line: 31

public function __construct(  );

is_enabled()

Check if help widget is enabled.

Since: 3.0.0
Line: 60

public function is_enabled(  ): bool;

Returns: bool — True if enabled.

get_settings()

Get help widget settings.

Since: 3.0.0
Line: 70

public function get_settings(  ): array;

Returns: array — Help widget settings.

get_suggested_articles()

Get suggested articles for current page.

Since: 3.0.0
Line: 133

public function get_suggested_articles(  ): array;

Returns: array — Array of article objects.

enqueue_scripts()

Enqueue scripts and styles.

Since: 3.0.0
Line: 198

public function enqueue_scripts(  );

render_help_widget()

Render help widget HTML in footer.

Since: 3.0.0
Line: 298

public function render_help_widget(  );

AJAX handler for search.

Since: 3.0.0
Line: 497

public function ajax_search(  );

ajax_submit_contact()

AJAX handler for contact form submission.

Since: 3.0.0
Line: 652

public function ajax_submit_contact(  );