Recent

Shortcodesclass

Shortcodes

Registers the Better Search shortcodes.

Namespace: WebberZone\Better_Search\Frontend
Since: 3.3.0
Source: includes/frontend/class-shortcodes.php line 21

Methods

__construct()

Constructor class.

Since: 3.3.0
Line: 28

public function __construct(  );

bsearch_heatmap() static

Shortcode to get the Better Search heatmap.

Line: 43

static public function bsearch_heatmap( $atts ): string;
Type Name Description
array $atts Shortcode attributes.

Returns: string — HTML output of the heatmap.

bsearch_form() static

Creates a shortcode [bsearch_form daily=“0”].

Line: 79

static public function bsearch_form( $atts ): string;
Type Name Description
array $atts Shortcode attributes.

Returns: string — The Better Search form.