wp_maybe_update_network_site_counts


wp_maybe_update_network_site_counts ( $network_id = null )

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

Description

Updates the count of sites for the current network.If enabled through the {@see 'enable_live_network_counts'} filter, update the sites count on a network when a site is created or its status is updated.

Related Functions

wp_maybe_update_network_user_counts, wp_update_network_site_counts, wp_maybe_update_network_site_counts_on_update, wp_update_network_user_counts, wp_maybe_update_user_counts

Top Google Results

User discussions

wpseek mobile