wordpress / latest / classes / wp_user_search / is_search.html

WP_User_Search::is_search(): bool

Whether there are search terms.

Return

bool

Source

File: wp-admin/includes/deprecated.php. View all references

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

Changelog

Version Description
2.1.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_user_search/is_search