Faced 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. Scheme

All requests in Google did not lead to anything, the only thing that 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 . ', me@myemail.com'; return $recipient; } 

And then, this filter is not for the store, but for the buyer (order confirmation).

Maybe someone already faced a similar task? I would be grateful if you shared the experience)

    0