WPDev.one

is_search()

is_search( )

Determines whether the query is for a search.

Return Value

(bool)
Whether the query is for a search.

Function Information

Since Version
1.5.0
Source File
wp-includes/query.php
Advertisement