bbp_get_users_chunk_limit
bbp_get_users_chunk_limit
Appears in: bbpress.2.6.0, bbpress.2.6.1, bbpress.2.6.11, bbpress.2.6.12, bbpress.2.6.2, bbpress.2.6.3, bbpress.2.6.4, bbpress.2.6.5, bbpress.2.6.6, bbpress.2.6.9
Hook Type: filter
Displaying hooks found in version: bbpress.2.6.9apply_filters('bbp_get_users_chunk_limit') is found 1 times:
- /includes/common/functions.php line 137513711372137313741375137613771378137913801381
// Default return value
$retval
=
array
();
// Maximum number of users to get per database query
$limit
= apply_filters(
'bbp_get_users_chunk_limit'
, 100 );
// Only do the work if there are user IDs to query for
if
( !
empty
(
$user_ids
) ) {
// Get total number of sets
$steps
=
ceil
(
count
(
$user_ids
) /
$limit
);