the_search_query

the_search_query

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('the_search_query') is found 1 times:

  • /wp-includes/general-template.php line 4360
    	 * @since 2.3.0
    	 *
    	 * @param mixed $search Contents of the search query variable.
    	 */
    	echo esc_attr( apply_filters( 'the_search_query', get_search_query( false ) ) );
    }
    
    /**
     * Gets the language attributes for the 'html' tag.
     *
     * Builds up a set of HTML attributes containing the text direction and language