wp_schedule_update_network_counts

Definition:
function wp_schedule_update_network_counts() {}

Schedule update of the network-wide counts for the current network.

Source code

function wp_schedule_update_network_counts() {

	if ( !is_main_site() )

		return;



	if ( !wp_next_scheduled('update_network_counts') && !defined('WP_INSTALLING') )

		wp_schedule_event(time(), 'twicedaily', 'update_network_counts');

}

10964

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: