get_user_count

SummerySummery

The number of active users in your installation.

Syntax

get_user_count( int|null $network_id = null )

DescriptionDescription

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

ParametersParameters

$network_id

(int|null) (Optional) ID of the network. Default is the current network.

Default value: null

ReturnReturn

(int) Number of active users on the network.

SourceSource

File: wp-includes/ms-functions.php


			

ChangelogChangelog

Changelog
Version Description
MU (3.0.0) MU (3.0.0)
4.8.0 Introduced.
Scroll to Top