apply_filters( 'bp_groups_get_group_type', string|array $type, int $group_id, bool $single )

Filters a groups’s group type(s).

Description

Parameters

$type

(string|array) Group type.

$group_id

(int) ID of the group.

$single

(bool) Whether to return a single type string, or an array.

Source

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

Changelog

Changelog
Version Description
BuddyPress 2.6.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.