apply_filters( 'bp_email_set_from', BP_Email_Recipient $from , string|array|int|WP_User $email_address , string $name , BP_Email $this )
Filters the new value of the email’s “from” property.
Description
Parameters
- $from
-
Sender details.
- $email_address
-
Either an email address, user ID, or WP_User object.
- $name
-
If $email_address is a string, this is the recipient's name.
- $this
-
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.