A WordPress-centric search engine for devs and theme authors



get_search_form ›

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.
    Required: Yes
Defined at:
Codex:

Filters the HTML output of the search form.





Source

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