Recent

bsearch_any_post_type_label filter

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

TypeNameDescription
string$any_post_type_labelThe label to display for the “any” post type option.
array$argsArguments 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;
} );