do_action( 'pre_get_search_form', array $args )
Fires before the search form is retrieved, at the start of get_search_form().
Parameters
- $args
-
The array of arguments for building the search form.<br> See get_search_form() for information on accepted arguments.
Source
Changelog
Version | Description |
---|---|
5.5.0 | The $args parameter was added. |
3.6.0 | |
2.7.0 | Introduced. as 'get_search_form' action. |