wp_schedule_update_user_counts() – Schedules a recurring recalculation of the total count of users.
You appear to be a bot. Output may be restricted
Description
Schedules a recurring recalculation of the total count of users.
Usage
wp_schedule_update_user_counts();
Parameters
Returns
void
Source
File name: wordpress/wp-includes/user.php
Lines:
1 to 9 of 9
function wp_schedule_update_user_counts() { if ( ! is_main_site() ) { return; } if ( ! wp_next_scheduled( 'wp_update_user_counts' ) && ! wp_installing() ) { wp_schedule_event( time(), 'twicedaily', 'wp_update_user_counts' ); } }