bp_members_invitations_cancel_activation_email( bool $send, int $user_id, string $user_email = '', string $activation_key = '', array $usermeta = array() )
When a user joins the network via an invitation, skip sending the activation email.
Description Description
Parameters Parameters
- $send
-
(Required) Whether or not to send the activation key.
- $user_id
-
(Required) User ID to send activation key to.
- $user_email
-
(Optional) User email to send activation key to.
Default value: ''
- $activation_key
-
(Optional) Activation key to be sent.
Default value: ''
- $usermeta
-
(Optional) Miscellaneous metadata about the user (blog-specific signup data, xprofile data, etc).
Default value: array()
Return Return
(bool) Whether or not to send the activation key.
Source Source
File: bp-members/bp-members-invitations.php
Changelog Changelog
Version | Description |
---|---|
8.0.0 | Introduced. |