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.
Source
File: wp-includes/class-wp-user-query.php
public function get_results() { return $this->results; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |