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