[ Index ]

PHP Cross Reference of BuddyPress




/src/bp-core/classes/ -> class-bp-email-recipient.php (summary)

Core component classes.

File Size: 179 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BP_Email_Recipient:: (4 methods):

Class: BP_Email_Recipient  - X-Ref

Represents a recipient that an email will be sent to.

__construct( $email_or_user, $name = '' )   X-Ref

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: Mon Jul 22 01:00:53 2024 Cross-referenced by PHPXref 0.7.1