WordPress at Your Fingertips
action is not described

pre_get_search_form action-hook . WP 3.6.0

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


add_action( 'pre_get_search_form', 'action_function_name_2962' );
function action_function_name_2962( $args ){
	// action...
The array of arguments for building the search form. See get_search_form() for information on accepted arguments.


Since 3.6.0 Introduced.
Since 2.7.0 as get_search_form
Since 5.5.0 The $args parameter was added.

Where the hook is called

wp-includes/general-template.php 252
do_action( 'pre_get_search_form', $args );

Where in WP core the hook is used WordPress

Usage not found.