<?php if (!defined('ABSPATH')) { exit; } do_action('woocommerce_email_header', $email_heading, $email); ?> <?php ?> <p><?php printf(esc_html__('Payment for order #%1$s from %2$s has failed. The order was as follows:', 'woocommerce'), esc_html($order->get_order_number()), esc_html($order->get_formatted_billing_full_name())); ?></p> <?php do_action('woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email); do_action('woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email); do_action('woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email); if ($additional_content) { echo wp_kses_post(wpautop(wptexturize($additional_content))); } do_action('woocommerce_email_footer', $email);