Filters the contents of the search query variable.
Parameters
$search
mixed- Contents of the search query variable.
Source
$query = apply_filters( 'get_search_query', get_query_var( 's' ) );
Changelog
Version | Description |
---|---|
2.3.0 | Introduced. |
Filters the contents of the search query variable.
$search
mixed$query = apply_filters( 'get_search_query', get_query_var( 's' ) );
Version | Description |
---|---|
2.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.