reply-to email address change to billing_email
-
Hello,
Is it possible to change the reply-to address to the billing_email in the “New Quote (Admin)” message notification?
With the following code you need an ID, I can not find this in the templates?
add_filter( 'woocommerce_email_headers', 'add_reply_to_wc_admin_new_order', 10, 3 ); function add_reply_to_wc_admin_new_order( $headers = '', $id = '', $order ) { if ( $id == 'new_order' ) { $reply_to_email = $order->billing_email; $headers .= "Reply-to: <$reply_to_email>\r\n"; } return $headers; }
Just replacing the “new_order” with “new_quote” doesn’t work.
Is there another way to do this?
The page I need help with: [log in to see the link]
- The topic ‘reply-to email address change to billing_email’ is closed to new replies.