wpseek.com
WordPress开发者和主题制作者的搜索引擎



pre_get_search_form › WordPress动作钩子

Since5.5.0
已弃用n/a
do_action( 'pre_get_search_form', $args )
参数:
  • (array) $args The array of arguments for building the search form. See get_search_form() for information on accepted arguments.
    Required: Yes
定义在:
文档:

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





源码

do_action( 'pre_get_search_form', $args );