WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about search_form_format

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/general-template.php apply_filters 302 /**
* Filters the HTML format of the search form.
*
* @since 3.6.0
* @since 5.5.0 The `$args` parameter was added.
*
* @param string $format The type of markup to use in the search form.
* Accepts 'html5', 'xhtml'.
* @param array $args The array of arguments for building the search form.
* See get_search_form() for information on accepted arguments.
*/

Hook Parameters

Parameter Type Name Description
string $format The type of markup to use in the search form.
array $args The array of arguments for building the search form.