get_user_count


get_user_count ( $network_id = null )

Parameters:
  • (int|null) $network_id ID of the network. Default is the current network.
Returns:
  • (int) Number of active users on the network.
Defined at:
Change Log:
  • M: U

Description

The number of active users in your installation.

The count is cached and updated twice daily. This is not a live count.

Related Functions

get_user_option, get_user_meta, get_user_by, get_blog_count, get_comment_count

Top Google Results

User discussions

wpseek mobile