wp_maybe_update_user_counts


wp_maybe_update_user_counts ( $network_id = null )

Parameters:
  • (int|null) network_id ID of the network. Defaults to the current network.
Returns:
  • (bool) Whether the update was successful.
Defined at:

Description

Updates the total count of users on the site if live user counting is enabled.

Related Functions

wp_update_user_counts, wp_maybe_update_network_user_counts, wp_maybe_update_network_site_counts, wp_schedule_update_user_counts, wp_update_term_count

Top Google Results

User discussions

wpseek mobile