diff --git a/templates/emails/customer-invoice.php b/templates/emails/customer-invoice.php index c3b28eebf0e..5166b632347 100644 --- a/templates/emails/customer-invoice.php +++ b/templates/emails/customer-invoice.php @@ -10,10 +10,10 @@ * happen. When this occurs the version of the template file will be bumped and * the readme will list any important changes. * - * @see https://docs.woocommerce.com/document/template-structure/ - * @author WooThemes - * @package WooCommerce/Templates/Emails - * @version 2.5.0 + * @see https://docs.woocommerce.com/document/template-structure/ + * @author WooThemes + * @package WooCommerce/Templates/Emails + * @version 3.3.0 */ if ( ! defined( 'ABSPATH' ) ) { @@ -21,17 +21,37 @@ if ( ! defined( 'ABSPATH' ) ) { } /** + * Executes the e-mail header. + * * @hooked WC_Emails::email_header() Output the email header */ do_action( 'woocommerce_email_header', $email_heading, $email ); ?> has_status( 'pending' ) ) : ?> -
get_checkout_payment_url() ) . '">' . __( 'pay', 'woocommerce' ) . '' ); ?>
++ array( + 'href' => array(), + ), + ) + ), + esc_html( get_bloginfo( 'name', 'display' ) ), + '' . esc_html__( 'Submit payment online.', 'woocommerce' ) . '' + ); + ?> +
do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email ); /** + * Hook for the woocommerce_email_order_meta + * * @hooked WC_Emails::order_meta() Shows order meta data. */ do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email ); /** + * Hook for woocommerce_email_customer_details + * * @hooked WC_Emails::customer_details() Shows customer details * @hooked WC_Emails::email_address() Shows email address */ do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email ); /** + * Executes the email footer + * * @hooked WC_Emails::email_footer() Output the email footer */ do_action( 'woocommerce_email_footer', $email );