get_user_count
get_user_count ( $network_id = null )
Parameters:- (int|null) network_id ID of the network. Defaults to the current network.
Returns:- (int) Number of active users on the network.
Defined at:Change Log: - Introduced in WordPress: —
- Deprecated in WordPress: —
Description
Returns the number of active users in your installation.Note that on a large site the count may be cached and only updated twice daily.