I'm customizing some woocommrce files, which need to get woocommrce $email->id,

i checked on main email templates like customer-completed-order.php which have $email object

but in email-order-items.php can't access $email object to get it's id.

I'm willing to use that for add some conditional data alone with product name



is there a way to access that or is there have a alternative to add some contents after order item names for specific emails only ex- order complete email

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.