File: bp-groups/classes/class-bp-groups-invitation-manager.php |
Description |
---|---|
BP_Groups_Invitation_Manager |
Group invitations class. |
BP_Groups_Invitation_Manager::__construct() |
Construct parameters. |
BP_Groups_Invitation_Manager::run_send_action() |
This is where custom actions are added to run when notifications of an invitation or request need to be generated & sent. |
BP_Groups_Invitation_Manager::run_acceptance_action() |
This is where custom actions are added to run when an invitation or request is accepted. |
BP_Groups_Invitation_Manager::mark_accepted() |
With group invitations, we don’t need to keep the old record, so we delete rather than mark invitations as “accepted.” |
BP_Groups_Invitation_Manager::allow_invitation() |
Should this invitation be created? |
BP_Groups_Invitation_Manager::allow_request() |
Should this request be created? |
groups_membership_accepted |
Fires after a group membership request has been accepted. |
groups_accept_invite |
Fires after a user has accepted a group invite. |