Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: wp_is_large_user_count

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
1440      /**
1441       * Filters whether the site is considered large, based on its number of users.
1442       *
1443       * @since 6.0.0
1444       *
1445       * @param bool     $is_large_user_count Whether the site has a large number of users.
1446       * @param int      $count               The total number of users.
1447       * @param int|null $network_id          ID of the network. `null` represents the current network.
1448       */
1449      return apply_filters( 'wp_is_large_user_count', $count > 10000, $count, $network_id );
1450 }
1451
1452 //
1453 // Private helper functions.
1454 //
1455
1456 /**
1457  * Sets up global user vars.
1458  *