wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



search_form_format › Hooks de Filtros WordPress

Desde5.5.0
Obsoleton/a
apply_filters( 'search_form_format', $format, $args )
Parâmetros: (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. See get_search_form() for information on accepted arguments.
    Required: Yes
Definido em:
Codex:

Filters the HTML format of the search form.





Fonte

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