[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-members/ -> bp-members-invitations.php (summary)

BuddyPress Membersip Invitations

File Size: 164 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  bp_members_invitations_setup_nav()
  bp_members_invitations_cancel_activation_email()
  bp_members_invitations_complete_signup()
  bp_members_invitations_delete_optedout_invites()

Functions
Functions that are not part of a class:

bp_members_invitations_setup_nav()   X-Ref
Set up the displayed user's Members Invitations nav.

since: 8.0.0

bp_members_invitations_cancel_activation_email( $send, $user_id = 0, $user_email = '' )   X-Ref
When a user joins the network via an invitation, skip sending the activation email.

since: 8.0.0
param: bool   $send       Whether or not to send the activation key.
param: int    $user_id    User ID to send activation key to.
param: string $user_email User email to send activation key to.
return: bool Whether or not to send the activation key.

bp_members_invitations_complete_signup( $user_id )   X-Ref
When a user joins the network via an invitation:
- mark all invitations and requests as accepted
- activate the user upon signup

since: 8.0.0
param: bool|WP_Error $user_id True on success, WP_Error on failure.

bp_members_invitations_delete_optedout_invites( $optout )   X-Ref
Delete site membership invitations when an opt-out request is saved.

since: 8.0.0
param: BP_Optout $optout Characteristics of the opt-out just saved.



Generated: Sun Sep 19 01:01:40 2021 Cross-referenced by PHPXref 0.7.1