WordPress at a glance
filter is not described

wp_is_large_network filter-hook . WP 3.3.0

Filters whether the network is considered large.


add_filter( 'wp_is_large_network', 'filter_function_name_2587', 10, 4 );
function filter_function_name_2587( $is_large_network, $component, $count, $network_id ){
	// filter...

	return $is_large_network;
Whether the network has more than 10000 users or sites.
The component to count. Accepts 'users', or 'sites'.
The count of items for the component.
The ID of the network being checked.

Список изменений

С версии 3.3.0 Введена.
С версии 4.8.0 The $network_id parameter has been added.

Где вызывается хук

wp-includes/ms-functions.php 2643
return apply_filters( 'wp_is_large_network', $count > 10000, 'users', $count, $network_id );
wp-includes/ms-functions.php 2649
return apply_filters( 'wp_is_large_network', $count > 10000, 'sites', $count, $network_id );

Где используется хук в ядре WordPress

Использование не найдено.