A WordPress-centric search engine for devs and theme authors



search_form_format ›

Since3.6.0
Deprecatedn/a
apply_filters( 'search_form_format', $format )
Parameters:
  • (string) $format The type of markup to use in the search form. Accepts 'html5', 'xhtml'.
    Required: Yes
Defined at:
Codex:

Filters the HTML format of the search form.





Source

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