Updates the network-wide user count.
$network_idint|nulloptional
Default:null
function wp_update_network_user_counts( $network_id = null ) {
wp_update_user_counts( $network_id );
}
| Version | Description |
|---|---|
| 6.0.0 | This function is now a wrapper for wp_update_user_counts() . |
| 4.8.0 | The $network_id parameter has been added. |
| 3.7.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_update_network_user_counts