WordPress at a glance
filter is not described

search_form_format filter-hook . WP 3.6.0

Filters the HTML format of the search form.

Usage

add_filter( 'search_form_format', 'filter_function_name_8652', 10, 2 );
function filter_function_name_8652( $format, $args ){
	// filter...

	return $format;
}
$format(string)
The type of markup to use in the search form. Accepts 'html5', 'xhtml'.
$args(array)
The array of arguments for building the search form.

Changelog

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

Where the hook is called

get_search_form()
search_form_format
wp-includes/general-template.php 296
$format = apply_filters( 'search_form_format', $format, $args );

Where in WP core the hook is used WordPress

Usage not found.