Summery Summery
Update the network-wide user count.
Syntax Syntax
Parameters Parameters
- $network_id
-
(Optional) ID of the network. Default is the current network.
Default value: null
Source Source
File: wp-includes/ms-functions.php
* * @param int|null $network_id ID of the network. Default is the current network. */ function wp_update_network_site_counts( $network_id = null ) { $network_id = (int) $network_id; if ( ! $network_id ) {
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.8.0 | The $network_id parameter has been added. |
3.7.0 | Introduced. |