WordPress at a glance
function is not described

WP_User_Query::get_total() public WP 3.1.0

Return the total number of users for the current query.

{} It's a method of the class: WP_User_Query{}

No Hooks.

Return

Int. Number of total users.

Usage

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

Changelog

Since 3.1.0 Introduced.

Code of WP_User_Query::get_total() WP 5.7.2

<?php
public function get_total() {
	return $this->total_users;
}