Core Function
View Source on Trac ↗ get_user_count()
get_user_count( mixed $network_id = null ) Returns the number of active users in your installation.
Parameters 1 required
| Name / Type | Description |
|---|---|
| (int | | null) $network_id ID of the network. Defaults to the current network. Required |
Return Value
(int)
Number of active users on the network.
Function Information
Since Version
MU (3.0.0)
Source File
wp-includes/user.php
Advertisement