get_user_count ( $network_id = null )
- (int|null) network_id ID of the network. Defaults to the current network.
Defined at:Change Log:
- (int) Number of active users on the network.
- Introduced in WordPress: —
- Deprecated in WordPress: —
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.