Removing User E-mail from ‘customer_completed_order’ Mail
-
Hi Mike!
First of all, thanks for your great plugin! it really rocks and make life much easier!I have a technical / feasibility question in Woocommerce:
I need to remove the user E-mail from the “To” list in the ‘customer_completed_order’ e-mails, because he is not the one who should receive them but other person. Is it possible to remove that user E-mail from that kind of communications?
I am trying to use the ‘woocommerce_email_headers’ filter to manipulate the $headers, in order to to null it and to re-fill it with the proper E-mail address that should receive it… But I am starting to think that maybe it is not feasible or at least that I am not approaching this problem in the correct direction.
Could you please give me any hint about how to continue the investigation or if it is feasible?
Thanks a lot in advance!
Angel.
- The topic ‘Removing User E-mail from ‘customer_completed_order’ Mail’ is closed to new replies.