apply_filters( 'enable_live_network_counts', bool $small_network , string $context )
Filters whether to update network site or user counts when a new site is created.
Description
See also
Parameters
-
$small_network
bool -
Whether the network is considered small.
-
$context
string -
Context. Either
'users'
or'sites'
.
Source
File: wp-includes/ms-functions.php
.
View all references
if ( ! apply_filters( 'enable_live_network_counts', $is_small_network, 'sites' ) ) {
Changelog
Version | Description |
---|---|
3.7.0 | Introduced. |