File: bp-groups/classes/class-bp-groups-invitation-manager.php
Description
BP_Groups_Invitation_Manager

Group invitations class.

Source: bp-groups/classes/class-bp-groups-invitation-manager.php:21

BP_Groups_Invitation_Manager::__construct()

Construct parameters.

Source: bp-groups/classes/class-bp-groups-invitation-manager.php:29

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.

Source: bp-groups/classes/class-bp-groups-invitation-manager.php:42

BP_Groups_Invitation_Manager::run_acceptance_action()

This is where custom actions are added to run when an invitation or request is accepted.

Source: bp-groups/classes/class-bp-groups-invitation-manager.php:70

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.”

Source: bp-groups/classes/class-bp-groups-invitation-manager.php:139

BP_Groups_Invitation_Manager::allow_invitation()

Should this invitation be created?

Source: bp-groups/classes/class-bp-groups-invitation-manager.php:156

BP_Groups_Invitation_Manager::allow_request()

Should this request be created?

Source: bp-groups/classes/class-bp-groups-invitation-manager.php:183

groups_membership_accepted

Fires after a group membership request has been accepted.

Source: bp-groups/classes/class-bp-groups-invitation-manager.php:100

groups_accept_invite

Fires after a user has accepted a group invite.

Source: bp-groups/classes/class-bp-groups-invitation-manager.php:119