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
-
ID of the newly created group.
- $member
-
Instance of the member who is assigned as group creator.
- $group
-
Instance of the group being created.
Source
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.