Ok, thank you for your help. It turned out that the filter is working, the problem was cause by the HYYAN Woocommerce Polylang integration.
When new orders are created, even programmatically, WooCommerce automatically sends emails to admin and customers, when those emails are enabled.…
The problem is in your action hook. Use following hook : add_action(' woocommerce_checkout_process', 'create_vip_order'); function create_vip_order () ...
When the custom Order Action is selected from the dropdown, I need it to send an email to billing email address with the Estimated Ship Date in the email. I created ...
I think you need such type of code. add_action('woocommerce_thankyou', ' my_custom_new_order_email'); function my_custom_new_order_email( $ order_id ) ...
By importing orders from Amazon in WooCommerce and creating WooCommerce orders programmatically, emails for new order or order status changing are ...
If you have disabled customer "on-hold" email notifications, you can use the following to send an email notification for on-hold orders status ...
Unhook and remove WooCommerce default emails. */
Wordpress (Woocommerce extension) - Create new order
should be sent to the admin email addresses or the customer.