Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WooCommerce - Notify Customer of Order Cancellation
function wc_cancelled_order_add_customer_email( $recipient, $order ){
return $recipient . ',' . $order->billing_email;
}
add_filter( 'woocommerce_email_recipient_cancelled_order', 'wc_cancelled_order_add_customer_email', 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment