Core Function
View Source on Trac ↗ wp_update_user_counts()
wp_update_user_counts( mixed $network_id = null ) Updates the total count of users on the site.
Parameters 1 required
| Name / Type | Description |
|---|---|
| (int | | null) $network_id ID of the network. Defaults to the current network. Required |
Return Value
(bool)
Whether the update was successful.
Function Information
Since Version
6.0.0
Source File
wp-includes/user.php
Advertisement