wp_update_network_user_counts( int|null $network_id = null )

In this article

Updates the network-wide user count.

Parameters

$network_idint|nulloptional
ID of the network. Default is the current network.

Default:null

Source

function wp_update_network_user_counts( $network_id = null ) {
	wp_update_user_counts( $network_id );
}

Changelog

VersionDescription
6.0.0This function is now a wrapper for wp_update_user_counts() .
4.8.0The $network_id parameter has been added.
3.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.