I use Woocommerce Subscriptions and would like to disable wcs_email_processing_renewal_order emails for renewal orders where the order amount is 0$.
How can I do that ?
Good afternoon, I am going to see in WooCommerce subscription code if there is some hook to use and I tell you.
I have been seeing it and there is no any hook: https://github.com/wp-premium/woocommerce-subscriptions/blob/26e83f89c82b7b02a3d205cf183d7abc92927004/includes/emails/class-wcs-email-customer-processing-renewal-order.php
So the only way to do it would be the one sent by Rempty. It is not so clear, but it should work.
Please read the comment, I forgot to use the checkbox to send it.