WP_User_Query::get_total
Returns the total number of users for the current query.
Method of the class: WP_User_Query{}
No Hooks.
Returns
Int
. Number of total users.
Usage
$WP_User_Query = new WP_User_Query(); $WP_User_Query->get_total();
Changelog
Since 3.1.0 | Introduced. |
WP_User_Query::get_total() WP User Query::get total code WP 6.8.1
public function get_total() { return $this->total_users; }