W3cubDocs

/WordPress

apply_filters( 'get_search_query', mixed $search )

Filters the contents of the search query variable.

Parameters

$search

(mixed) Contents of the search query variable.

Source

File: wp-includes/general-template.php

View on Trac

Changelog

Version Description
2.3.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_search_query