Recent

widget_bsearch_form_args filter

widget_bsearch_form_args

Filters the arguments for the Better Search form widget.

Type: filter
Since: 3.0.0
Source: includes/frontend/widgets/class-search-box.php line 79

Parameters

TypeNameDescription
array$argsAn array of arguments used to retrieve the Better Search form.
array$instanceArray of settings for the current widget.

Usage

add_filter( 'widget_bsearch_form_args', function($args, $instance) {
    // ...
    return $args;
} );

See Also

  • get_bsearch_form()