WordPress at Your Fingertips
function is not described

WP_User_Search::is_search() public WP 2.1.0

Whether there are search terms.

{} It's a method of the class: WP_User_Search{}

No Hooks.

Return

true|false.

Usage

$WP_User_Search = new WP_User_Search();
$WP_User_Search->is_search();

Changelog

Since 2.1.0 Introduced.

Code of WP_User_Search::is_search() WP 5.8.2

function is_search() {
	if ( $this->search_term )
		return true;
	return false;
}