BP_Email_Recipient::get_name()

Get recipient’s name.


Description Description


Return Return

(string)


Top ↑

Source Source

File: bp-core/classes/class-bp-email-recipient.php

137
138
139
140
141
142
143
144
145
146
147
148
149
public function get_name() {
    $name = parent::get_name();
 
    /**
     * Filters the recipient's name before it's returned.
     *
     * @since 2.5.0
     *
     * @param string             $name      Recipient's name.
     * @param BP_Email_Recipient $recipient Current instance of the email recipient class.
     */
    return apply_filters( 'bp_email_recipient_get_name', $name, $this );
}

Top ↑

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.