I want to send e-mails to user account email and not to billing email in WooCommerce.
I only found that code but I think this is outdated and I also don't want to send 2 mails only one to customer user email.
Code here:
https://www.webdesign101.net/send-e-mails-user-account-email-billing-email-woocommerce/
Tried this code but outdated and also 2 mails instead of one going to user email.
And I didn't found the line in woocommerce/templates/email to change the header from billing_email
to user_email
.
I want so send emails from WooCommerce to user email not to billing email.