wp_update_network_counts

Update the network-wide counts for the current network.

Description

wp_update_network_counts(); 

@since 3.1.0


Usage

  1. if ( !function_exists( 'wp_update_network_counts' ) ) { 
  2. require_once ABSPATH . WPINC . '/ms-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wp_update_network_counts(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/ms-functions.php  
  1. function wp_update_network_counts() {