WP_User_Query::get_results()publicWP 3.1.0

Returns the list of users.

Method of the class: WP_User_Query{}

No Hooks.

Return

Array. Array of results.

Usage

$WP_User_Query = new WP_User_Query();
$WP_User_Query->get_results();

Changelog

Since 3.1.0 Introduced.

WP_User_Query::get_results() code WP 6.1.1

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