How to send custom emails using the WooCommerce template
I used to believe that if you have to send custom emails within WooCommerce, then the only way possible is by creating a custom Email which extends WC_Email class. That process is tedious and honestly very few would need that. I recently stumbled upon a code within WooCommerce which uses the WC()->mailer->wrap_message() function to send […]