apply_filters( ‘get_search_query’, mixed $search )

In this article

Filters the contents of the search query variable.

Parameters

$searchmixed
Contents of the search query variable.

Source

$query = apply_filters( 'get_search_query', get_query_var( 's' ) );

Changelog

VersionDescription
2.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.