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
| Type | Name | Description |
|---|---|---|
string | $tag | HTML tag name. |
Usage
add_filter( 'bsearch_highlight_tag', function($tag) {
// ...
return $tag;
} );