wpseek.com
A WordPress-centric search engine for devs and theme authors



get_search_form › WordPress Filter Hooks

Since5.5.0
Deprecatedn/a
apply_filters( 'get_search_form', $form, $args )
Parameters: (2)
  • (string) $form The search form HTML output.
    Required: Yes
  • (array) $args The array of arguments for building the search form. See get_search_form() for information on accepted arguments.
    Required: Yes
Defined at:
Codex:

Filters the HTML output of the search form.





Source

$result = apply_filters( 'get_search_form', $form, $args );