安排更新当前网络的网络范围计数。
原型
wp_schedule_update_network_counts()
源文件
路径:wp-includes/ms-functions.php
<?php
...
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');
}
...
?>
其他
英文文档:https://developer.wordpress.org/reference/functions/wp_schedule_update_network_counts/