woocommerce_email_recipient_ . $this->id, $this->recipient, $this->object, $this
woocommerce_email_recipient_ . $this->id, $this->recipient, $this->object, $this
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_email_recipient_ . $this->id, $this->recipient, $this->object, $this') is found 1 times:
- /includes/emails/class-wc-email.php line 631
* @param string $recipient Recipient. * @param object $object The object (ie, product or order) this email relates to, if any. * @param WC_Email $email WC_Email instance managing the email. */ $recipient = apply_filters( 'woocommerce_email_recipient_' . $this->id, $this->recipient, $this->object, $this ); $recipients = array_map( 'trim', explode( ',', $recipient ?? '' ) ); $recipients = array_filter( $recipients, 'is_email' ); return implode( ', ', $recipients ); } /**