WordPress как на ладони
wordpress jino
фильтр не описан

get_search_query хук-фильтр . WP 2.3.0

Filters the contents of the search query variable.

Использование

add_filter( 'get_search_query', 'filter_function_name_9217' );
function filter_function_name_9217( $search ){
	// filter...

	return $search;
}
$search(смешанный)
Contents of the search query variable.

Где используется хук

Код хука

Фрагмент из: wp-includes/general-template.php VER 4.9.8
...
 *
 * @since 2.3.0
 *
 * @param bool $escaped Whether the result is escaped. Default true.
 * 	                    Only use when you are later escaping it. Do not use unescaped.
 * @return string
 */
function get_search_query( $escaped = true ) {
	/**
	 * Filters the contents of the search query variable.
	 *
	 * @since 2.3.0
	 *
	 * @param mixed $search Contents of the search query variable.
	 */
	$query = apply_filters( 'get_search_query', get_query_var( 's' ) );

	if ( $escaped )
		$query = esc_attr( $query );
	return $query;
}

/**
 * Displays the contents of the search query variable.
 *
 * The search query string is passed through esc_attr() to ensure that it is safe
 * for placing in an html attribute.
 *
 * @since 2.1.0
 */
function the_search_query() {
...