<?php do_action('woocommerce_email_before_order_table', $order, $sent_to_admin, $plain_text); ?> </div> </td> </tr> </table> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td class="top_content_container"> <?php ec_special_title(__("Order Details", 'email-control'), array("border_position" => "center", "text_position" => "center", "space_after" => "3", "space_before" => "3")); ?> <table cellspacing="0" cellpadding="0" border="0" width="100%"> <tr> <td class="order-table-heading" style="text-align:left; padding: 12px 0 6px;"> <span class="highlight"> <?php _e('Order Number:', 'email-control'); ?> </span> <?php echo $order->get_order_number(); ?>
</td> </tr> </table> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td class="top_content_container"> <?php do_action('woocommerce_email_order_meta', $order, true, false); ?> <?php ec_special_title(__("Customer details", 'email-control'), array("border_position" => "center", "text_position" => "center")); ?> <?php if (version_compare($woocommerce->version, '2.4', '>=')) { // WC2.4 and above do_action('woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text); } elseif (version_compare($woocommerce->version, '2.2', '>=')) { // WC2.2 and above ?> <?php if ($order->billing_email) { ?>