WordPress at Your Fingertips
filter is not described

get_search_form filter-hook . WP 2.7.0

Filters the HTML output of the search form.


add_filter( 'get_search_form', 'filter_function_name_9853', 10, 2 );
function filter_function_name_9853( $form, $args ){
	// filter...

	return $form;
The search form HTML output.
The array of arguments for building the search form. See get_search_form() for information on accepted arguments.


Since 2.7.0 Introduced.
Since 5.5.0 The $args parameter was added.

Where the hook is called

wp-includes/general-template.php 351
$result = apply_filters( 'get_search_form', $form, $args );

Where in WP core the hook is used WordPress

Usage not found.