Advertisement
retoo

Einen E-Mail Empfänger hinzufügen wenn die Bestellung komplett ist

Mar 15th, 2021
545
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.24 KB | None | 0 0
  1. function woo_extra_email_recipient($recipient, $object) {
  2.     $recipient = $recipient . ', your@email.com';
  3.     return $recipient;
  4. }
  5. add_filter( 'woocommerce_email_recipient_customer_completed_order', 'woo_extra_email_recipient', 10, 2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement