Recent

bsearch_highlight_tag filter

bsearch_highlight_tag

Filters the HTML tag used to wrap highlighted search terms.

Allowed values: mark, span, strong, em. Defaults to ‘mark’.

Type: filter
Since: 4.3.2
Source: includes/frontend/class-display.php line 79

Parameters

TypeNameDescription
string$tagHTML tag name.

Usage

add_filter( 'bsearch_highlight_tag', function($tag) {
    // ...
    return $tag;
} );