wordpress / latest / classes / wp_user_query / get_results.html

WP_User_Query::get_results(): array

Returns the list of users.

Return

array Array of results.

Source

File: wp-includes/class-wp-user-query.php. View all references

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

Changelog

Version Description
3.1.0 Introduced.

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