Send new order emails to another address too
New order notifications also go to a second address, for example your warehouse or accountant.
Before you switch it on: Replace warehouse@example.com with the extra address (separate several with commas).
It arrives switched off, even when you install its whole pack with "Switch on after installing".
<?php
add_filter(
'woocommerce_email_recipient_new_order',
static function ( $recipient ) {
return $recipient . ',warehouse@example.com';
}
);
In these packs
- WooCommerce: account, emails and admin: A leaner My account page, handier order lists and emails, and lighter pages.