[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

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

BuddyPress Membersip Invitations

File Size: 165 lines (6 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 = '', $activation_key = '', $usermeta = array()   X-Ref
When a user joins the network via an invitation, skip sending the activation email.

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.
param: string $activation_key Activation key to be sent.
param: array  $usermeta       Miscellaneous metadata about the user (blog-specific
since: 8.0.0

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

param: bool|WP_Error   $user_id       True on success, WP_Error on failure.
param: string          $user_login    Login name requested by the user.
param: string          $user_password Password requested by the user.
param: string          $user_email    Email address requested by the user.
since: 8.0.0

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

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



Generated: Wed Jun 23 01:01:38 2021 Cross-referenced by PHPXref 0.7.1