do_action( 'groups_accept_invite', int $user_id , int $group_id , int $inviter_id )
Fires after a user has accepted a group invite.
Description
Parameters
- $user_id
-
ID of the user who accepted the group invite.
- $group_id
-
ID of the group being accepted to.
- $inviter_id
-
ID of the user who invited this user to the group.
Source
File: bp-groups/classes/class-bp-groups-invitation-manager.php
Changelog
Version | Description |
---|---|
BuddyPress 2.8.0 The $inviter_id arg was added. | BuddyPress 2.8.0 The $inviter_id arg was added. |
BuddyPress 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.