wp_is_large_user_count WordPress Filter Hook

The wp_is_large_user_count hook is a great way to check if a site has a large number of users. This can be useful for performance tuning or for security purposes.

apply_filters( 'wp_is_large_user_count', bool $is_large_user_count, int $count, int|null $network_id ) #

Filters whether the site is considered large, based on its number of users.


Parameters

$is_large_user_count

(bool)Whether the site has a large number of users.

$count

(int)The total number of users.

$network_id

(int|null)ID of the network. null represents the current network.


Top ↑

Source

File: wp-includes/user.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
6.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More