bsearch_any_post_type_label
Filter the label used for the “any” post type option in the Better Search form.
Type: filter
Since: 4.2.4
Source: includes/general-template.php line 232
Parameters
| Type | Name | Description |
|---|---|---|
string | $any_post_type_label | The label to display for the “any” post type option. |
array | $args | Arguments used to generate the Better Search form. |
Usage
add_filter( 'bsearch_any_post_type_label', function($any_post_type_label, $args) {
// ...
return $any_post_type_label;
} );