mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-04-29 11:32:21 +08:00
6 lines
275 B
Text
6 lines
275 B
Text
add_filter( 'woocommerce_email_recipient_customer_completed_order', 'wc_order_completed_email_add_to', 9999, 3 );
|
|
|
|
function wc_order_completed_email_add_to( $email_recipient, $email_object, $email ) {
|
|
$email_recipient .= ', your@email.com';
|
|
return $email_recipient;
|
|
}
|