I am working on customizing the woocommerce email templates according to my own needs. I just wanted to know if I can access the current email id (like customer_processing_order, or admin_new_order) so that I can use it in conditional statements like
$email_id = /* Some function to get the email id */
if($email_id == 'admin_new_order') {
//do somthing
}
I want to use it inside email-order-details.php and also inside email-order-items.php
Thanks