apply_filters( 'bp_email_set_bcc', BP_Email_Recipient[] $bcc , string|array|int|WP_User $bcc_address , string $name , string $operation , BP_Email $this )
Filters the new value of the email’s “BCC” property.
Description
Parameters
- $bcc
-
(BP_Email_Recipient[]) BCC recipients.
- $bcc_address
-
(string|array|int|WP_User) Either an email address, user ID, WP_User object, or an array containing any combination of the above.
- $name
-
(string) If $bcc_address is a string, this is the recipient's name.
- $operation
-
(string) If "replace", $to_address replaced previous recipients. If "add", $to_address was added to the array of recipients.
- $this
-
(BP_Email) Current instance of the email type class.
Source
Changelog
Version | Description |
---|---|
BuddyPress 2.5.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.