bsearch_any_post_type_label
Filter the label used for the “any” post type option in the Better Search form.
Type: filter
Since: 3.0.0
Source: includes/general-template.php line 232
Changelog
| Version | Description |
|---|---|
4.2.4 |
Added the $args parameter. |
3.0.0 |
Introduced. |
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;
} );