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:
  • 4: .
  • 6: .

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.

Related Functions

get_user_option, get_user_meta, get_user, get_user_by, wp_is_large_user_count

Top Google Results

User discussions

wpseek mobile