How to include a custom field in the woocommerce email?
Adding custom fields to emails /* To use: 1. Add this snippet to your theme’s functions.php file 2. Change the meta key names in the snippet 3. Create a custom field in the order post – e.g. key = “Tracking Code” value = abcdefg 4. When next updating the status, or during any other event … Read more