W3cubDocs

/WordPress

WP_User_Search::get_results(): array

Retrieves the user search query results.

Return

array

Source

public function get_results() {
	return (array) $this->results;
}

Changelog

Version Description
2.1.0 Introduced.

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