Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_schedule_update_network_counts ›

Da3.1.0
Deprecaton/a
wp_schedule_update_network_counts ( Nessun parametro )
Definito a:
Codex:

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



Sorgenti

function wp_schedule_update_network_counts() {
	if ( ! is_main_site() ) {
		return;
	}

	if ( ! wp_next_scheduled( 'update_network_counts' ) && ! wp_installing() ) {
		wp_schedule_event( time(), 'twicedaily', 'update_network_counts' );
	}
}