get_bsearch_form
Filters the HTML output of the search form.
Type: filter
Since: 3.0.0
Source: includes/general-template.php line 281
Parameters
| Type | Name | Description |
|---|---|---|
string | $form | The search form HTML output. |
string | $search_query | Search query |
array | $args | The array of arguments for building the search form. |
Usage
add_filter( 'get_bsearch_form', function($form, $search_query, $args) {
// ...
return $form;
} );