apply_filters( 'bp_email_recipient_get_user', WP_User $name , string $transform , BP_Email $recipient )
Filters the WP_User object for this recipient before it’s returned.
Description
Parameters
- $name
-
WP_User object for this recipient, or null if not set.
- $transform
-
How the return value was transformed. Accepts 'raw' (default) or 'search-email'.
- $recipient
-
$this Current instance of the email recipient 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.