Answer the question
In order to leave comments, you need to log in
How to send order emails to different email addresses in woocommerce depending on the delivery zone?
Faced with the task of sending an order letter to woocommerce in such a way that when choosing a delivery zone, the recipient's mail would change to the mail of a specific zone.
All searches in Google led to nothing, the only thing I found
add_filter( 'woocommerce_email_recipient_customer_completed_order', 'your_email_recipient_filter_function', 10, 2);
function your_email_recipient_filter_function($recipient, $object) {
$recipient = $recipient . ', [email protected]';
return $recipient;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question