A WordPress-centric search engine for devs and theme authors



search_form_format ›

Since5.5.0
Deprecatedn/a
apply_filters( 'search_form_format', $format, $args )
Parameters: (2)
  • (string) $format The type of markup to use in the search form. Accepts 'html5', 'xhtml'.
    Required: Yes
  • (array) $args The array of arguments for building the search form.
    Required: Yes
Defined at:
Codex:

Filters the HTML format of the search form.





Source

$format = apply_filters( 'search_form_format', $format, $args );