Add email recipient when order completed

function woo_extra_email_recipient($recipient, $object) { $recipient = $recipient . ', your@email.com'; return $recipient; } add_filter( 'woocommerce_email_recipient_customer_completed_order', 'woo_extra_email_recipient', 10, 2);

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.