Send email notifications to a defined email address depending if a product in order has a specific TAG
I looking to send new order woocommerce email notification to two diferent emails depending if a product in the order has a specific TAG or not. So far what I came up with was the following: //Custom NEW ORDER Email address depending on Product Tag add_filter( 'woocommerce_email_recipient_new_order', 'new_order_conditional_email_recipient', 10, 2 ); function new_order_conditional_email_recipient( $recipient, $order … Read more