do_action( 'bp_groups_set_group_type', int $group_id, string|array $group_type, bool $append )

Fires just after a group type has been changed.

Description

Parameters

$group_id

ID of the group whose group type has been updated.

$group_type

Group type or array of group types.

$append

Whether the type is being appended to existing types.

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.