wp_maybe_update_network_user_counts ( $network_id = null )

  • (int|null) $network_id ID of the network. Default is the current network.
Defined at:
Change Log:
  • 4: .


Update the network-wide users count.

If enabled through the {@see 'enable_live_network_counts'} filter, update the users count on a network when a user is created or its status is updated.

Related Functions

wp_maybe_update_network_site_counts, wp_update_network_user_counts, wp_update_network_site_counts, wp_maybe_update_network_site_counts_on_update, wp_update_network_counts

Top Google Results

User discussions

wpseek mobile