How can we fix this?
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?