/templates/emails/send-report.php

  1. <?php 
  2. /** 
  3. * Customer request texts email 
  4. * 
  5. * @author Isikom 
  6. * @package WooCommerce/Templates/Emails/HTML 
  7. * @version 2.0.0 
  8. */ 
  9.  
  10. if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 
  11. $order_id = $order->get_order_number(); 
  12. ?> 
  13.  
  14. <?php do_action('woocommerce_email_header', $email_heading); ?> 
  15.  
  16. <h2><?php echo __( 'Order:', 'woocommerce' ) . ' ' . $order_id ?></h2> 
  17.  
  18. <p><?php _e( "One or more errors was reported for this order. Please check and fix it.", 'woo_af2p' ); ?></p> 
  19.  
  20. <p><a href="<?php echo get_admin_url() . 'post.php?post=' . ltrim ($order_id, '#') . '&action=edit'; ?>" target="_blank"><?php _e( "Edit the order.", 'woo_af2p' ); ?></a></p> 
  21.  
  22. <?php do_action('woocommerce_email_footer'); ?> 
.