apply_filters( 'bp_has_groups', bool $value, BP_Groups_Template $groups_template, array $r )

Filters whether or not there are groups to iterate over for the groups loop.

Description

Parameters

$value

Whether or not there are groups to iterate over.

$groups_template

BP_Groups_Template object based on parsed arguments.

$r

Array of parsed arguments for the query.

Source

File: bp-groups/bp-groups-template.php

Changelog

Changelog
Version Description
BuddyPress 1.1.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.