How to control the number of Groups in the Group Directory
By default, the BuddyBress group directory page renders 20 groups a page. In order to alter this number, you can add the following code within the functions.php file of your theme:
function groups_per_page($args) { $args['per_page'] = 10; return $args;}add_filter( 'bp_after_has_groups_parse_args', 'groups_per_page' );You can alter the number in place to that of your preference.