Changeset 13372 for trunk/src/bp-core/classes/class-bp-email-recipient.php
- Timestamp:
- 11/24/2022 09:33:11 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-email-recipient.php
r12353 r13372 33 33 * @param string|array|int|WP_User $email_or_user Either a email address, user ID, WP_User object, 34 34 * or an array containing any combination of the above. 35 * @param string $name Optional. If $email_or_user is a string, this is the recipient's name. 35 * @param string $name Optional. If $email_or_user is a string, this is the 36 * recipient's name. 36 37 */ 37 38 public function __construct( $email_or_user, $name = '' ) { … … 101 102 * @param string|array|int|WP_User $email_or_user Either a email address, user ID, WP_User object, 102 103 * or an array containing any combination of the above. 103 * @param string $nameIf $email_or_user is a string, this is the recipient's name.104 * @param BP_Email_Recipient $thisCurrent instance of the email type class.104 * @param string $name If $email_or_user is a string, this is the recipient's name. 105 * @param BP_Email_Recipient $recipient Current instance of the email type class. 105 106 */ 106 107 do_action( 'bp_email_recipient', $email_or_user, $name, $this ); … … 170 171 * @since 2.5.0 171 172 * 172 * @param WP_User $nameWP_User object for this recipient, or null if not set.173 * @param string $transformOptional. How the return value was transformed.174 * Accepts 'raw' (default) or 'search-email'.175 * @param BP_Email $recipient $thisCurrent instance of the email recipient class.173 * @param WP_User $user_object WP_User object for this recipient, or null if not set. 174 * @param string $transform Optional. How the return value was transformed. 175 * Accepts 'raw' (default) or 'search-email'. 176 * @param BP_Email_Recipient $recipient Current instance of the email recipient class. 176 177 */ 177 178 return apply_filters( 'bp_email_recipient_get_user', $this->user_object, $transform, $this );
Note: See TracChangeset
for help on using the changeset viewer.