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



pre_get_search_form › Hooks de Ações WordPress

Desde5.5.0
Obsoleton/a
do_action( 'pre_get_search_form', $args )
Parâmetros:
  • (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:

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





Fonte

do_action( 'pre_get_search_form', $args );