do_action( 'groups_create_group', int $id, BP_Groups_Member $member, BP_Groups_Group $group )

Fires after the creation of a new group and a group creator needs to be made.

Description

Parameters

$id

(int) ID of the newly created group.

$member

(BP_Groups_Member) Instance of the member who is assigned as group creator.

$group

(BP_Groups_Group) Instance of the group being created.

Source

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

Changelog

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