Filters whether to update network site or user counts when a new site is created.
$small_networkbool$contextstringwp-includes/ms-functions.php:2455wp_maybe_update_network_site_counts()wp-includes/ms-functions.php:2477wp_maybe_update_network_user_counts()wp-includes/user.php:1421wp_maybe_update_user_counts() * * @see wp_is_large_network() * * @param bool $small_network Whether the network is considered small. * @param string $context Context. Either 'users' or 'sites'. */ if ( ! apply_filters( 'enable_live_network_counts', $is_small_network, 'sites' ) ) { return; } wp_update_network_site_counts( $network_id );}Introduced in 3.7.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.