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

Top ↑

See also


Top ↑

Parameters

$small_network bool
Whether the network is considered small.
$context string
Context. Either 'users' or 'sites'.

Top ↑

Source

File: wp-includes/ms-functions.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
3.7.0 Introduced.

Top ↑

User Contributed Notes

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