[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

BuddyPress Membersip Invitations

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

Defines 5 functions

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

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
return: bool Whether or not to send the activation key.
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.

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.

bp_members_invitations_maybe_bypass_request_approval( $send, $details )   X-Ref
If a user submits a site membership request, but there's a
sent invitation to her, bypass the manual approval of the request.

since: 10.0.0
param: bool  $send    Whether or not this membership request should be approved
param: array $details The details of the request.



Generated: Tue Nov 5 01:00:58 2024 Cross-referenced by PHPXref 0.7.1