woocommerce_email_bcc_recipient_
woocommerce_email_bcc_recipient_
Appears in: woocommerce.9.8.1
Hook Type: filter
Displaying hooks found in version: woocommerce.9.8.1apply_filters('woocommerce_email_bcc_recipient_') is found 1 times:
- /includes/emails/class-wc-email.php line 545
* @param string $bcc CC 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. */ $bcc = apply_filters( 'woocommerce_email_bcc_recipient_' . $this->id, $bcc, $this->object, $this ); $bccs = array_map( 'trim', explode( ',', $bcc ) ); $bccs = array_filter( $bccs, 'is_email' ); $bccs = array_map( 'sanitize_email', $bccs ); return implode( ', ', $bccs ); }