W3cubDocs

/WordPress

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 on Trac

Changelog

Version Description
3.7.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/enable_live_network_counts