wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



search_form_format › WordPress Filter Hooks

Seit5.5.0
Veraltetn/v
apply_filters( 'search_form_format', $format, $args )
Parameter: (2)
  • (string) $format The type of markup to use in the search form. Accepts 'html5', 'xhtml'.
    Erforderlich: Ja
  • (array) $args The array of arguments for building the search form. See get_search_form() for information on accepted arguments.
    Erforderlich: Ja
Definiert in:
Codex:

Filters the HTML format of the search form.





Quellcode

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