bbp_get_users_chunk_limit

bbp_get_users_chunk_limit

Hook Type: filter

See hook in core

Displaying hooks found in version: bbpress.2.6.9

apply_filters('bbp_get_users_chunk_limit') is found 1 times:

  • /includes/common/functions.php line 1375
    1371
    1372
    1373
    1374
    1375
    1376
    1377
    1378
    1379
    1380
    1381
    // 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 );