Add a reply email to customer new order email, based on shipping item in Woocommerce – WordPress
Hey I would like to change the reply to emailadress for the new_order emails based on the shipping item. I have tried: add_filter( 'woocommerce_email_headers', 'add_headers_replay_to_conditionally', 10, 3 ); function add_headers_replay_to_conditionally( $headers, $email_id, $order ) { // Avoiding errors if (…