| [ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
Core component classes.
| File Size: | 179 lines (5 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
BP_Email_Recipient:: (4 methods):
__construct()
get_address()
get_name()
get_user()
Class: BP_Email_Recipient - X-Ref
Represents a recipient that an email will be sent to.| __construct( $email_or_user, $name = '' ) X-Ref |
| Constructor. since: 2.5.0 param: string|array|int|WP_User $email_or_user Either a email address, user ID, WP_User object, param: string $name Optional. If $email_or_user is a string, this is the recipient's name. |
| get_address() X-Ref |
| Get recipient's address. return: string since: 2.5.0 |
| get_name() X-Ref |
| Get recipient's name. return: string since: 2.5.0 |
| get_user( $transform = 'raw' ) X-Ref |
| Get WP_User object for this recipient. return: WP_User|null WP_User object, or null if not set. since: 2.5.0 param: string $transform Optional. How to transform the return value. |
| Generated: Thu Nov 6 01:00:59 2025 | Cross-referenced by PHPXref 0.7.1 |