A WordPress-centric search engine for devs and theme authors



pre_get_search_form ›

Since5.5.0
Deprecatedn/a
do_action( 'pre_get_search_form', $args )
Parameters:
  • (array) $args The array of arguments for building the search form.
    Required: Yes
Defined at:
Codex:

Fires before the search form is retrieved, at the start of get_search_form().





Source

do_action( 'pre_get_search_form', $args );