apply_filters( 'bp_include_group_by_context', bool $include, BP_Groups_Group $group, string $user_id )

Filters whether this group should be included for this user and context combination.

Description

Parameters

$include

(bool) Whether to include this group.

$group

(BP_Groups_Group) The group object in question.

$user_id

(string) Current context.

Source

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

Changelog

Changelog
Version Description
BuddyBoss 1.0.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.