pre_get_search_form

pre_get_search_form

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

do_action('pre_get_search_form') is found 1 times:

  • /wp-includes/general-template.php line 254
    	 *
    	 * @param array $args The array of arguments for building the search form.
    	 *                    See get_search_form() for information on accepted arguments.
    	 */
    	do_action( 'pre_get_search_form', $args );
    
    	$echo = true;
    
    	if ( ! is_array( $args ) ) {
    		/*
    		 * Back compat: to ensure previous uses of get_search_form() continue to