Recent

get_bsearch_form filter

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

TypeNameDescription
string$formThe search form HTML output.
string$search_querySearch query
array$argsThe array of arguments for building the search form.

Usage

add_filter( 'get_bsearch_form', function($form, $search_query, $args) {
    // ...
    return $form;
} );