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_networkbool
Whether the network is considered small.
$contextstring
Context. Either 'users' or 'sites'.

Source

if ( ! apply_filters( 'enable_live_network_counts', $is_small_network, 'sites' ) ) {

Changelog

VersionDescription
3.7.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.