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
| Type | Name | Description |
|---|---|---|
array | $args | An array of arguments used to retrieve the Better Search form. |
array | $instance | Array of settings for the current widget. |
Usage
add_filter( 'widget_bsearch_form_args', function($args, $instance) {
// ...
return $args;
} ); See Also
get_bsearch_form()