apply_filters( 'the_search_query', mixed $search )
Filters the contents of the search query variable for display.
Parameters
- $search
 -  
(mixed) Contents of the search query variable.
 
Source
Changelog
| Version | Description | 
|---|---|
| 2.3.0 | Introduced. | 
    © 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
    https://developer.wordpress.org/reference/hooks/the_search_query