BP_Email_Recipient::get_name()
Get recipient’s name.
Description
Return
(string)
Source
File: bp-core/classes/class-bp-email-recipient.php
public function get_name() { /** * Filters the recipient's name before it's returned. * * @since BuddyPress 2.5.0 * * @param string $name Recipient's name. * @param BP_Email $recipient $this Current instance of the email recipient class. */ return apply_filters( 'bp_email_recipient_get_name', $this->name, $this ); }
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.