WP_User_Query::get_results() WordPress Method

The WP_User_Query::get_results() function is used to retrieve a list of users matching the criteria specified by the query. The results are returned as an array of WP_User objects.

WP_User_Query::get_results() #

Returns the list of users.


Return

(array) Array of results.


Top ↑

Source

File: wp-includes/class-wp-user-query.php

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

Top ↑

Changelog

Changelog
VersionDescription
3.1.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.