is_search


is_search ( No parameters )

Returns:
  • (bool)
Defined at:

Description

Determines whether the query is for a search.For more information on this and similar theme functions, check out the [Conditional Tags](https://developer.wordpress.org/themes/basics/conditional-tags/) article in the Theme Developer Handbook.

Related Functions

is_year, is_archive, is_archived, install_search_form, is_term

Top Google Results

User discussions

wpseek mobile