woocommerce_email_recipient_

woocommerce_email_recipient_

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_email_recipient_') is found 1 times:

  • /includes/emails/class-wc-email.php line 502
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
         * @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 );
    }
     
    /**