Merge pull request #17409 from woocommerce/tweak/invoice-email-name
Change title of Customer invoice email
This commit is contained in:
commit
4b13b6e79c
|
@ -33,7 +33,7 @@ class WC_Meta_Box_Order_Actions {
|
||||||
}
|
}
|
||||||
|
|
||||||
$order_actions = apply_filters( 'woocommerce_order_actions', array(
|
$order_actions = apply_filters( 'woocommerce_order_actions', array(
|
||||||
'send_order_details' => __( 'Email order details to customer', 'woocommerce' ),
|
'send_order_details' => __( 'Email invoice / order details to customer', 'woocommerce' ),
|
||||||
'send_order_details_admin' => __( 'Resend new order notification', 'woocommerce' ),
|
'send_order_details_admin' => __( 'Resend new order notification', 'woocommerce' ),
|
||||||
'regenerate_download_permissions' => __( 'Regenerate download permissions', 'woocommerce' ),
|
'regenerate_download_permissions' => __( 'Regenerate download permissions', 'woocommerce' ),
|
||||||
) );
|
) );
|
||||||
|
|
|
@ -25,7 +25,7 @@ class WC_Email_Customer_Invoice extends WC_Email {
|
||||||
public function __construct() {
|
public function __construct() {
|
||||||
$this->id = 'customer_invoice';
|
$this->id = 'customer_invoice';
|
||||||
$this->customer_email = true;
|
$this->customer_email = true;
|
||||||
$this->title = __( 'Customer invoice', 'woocommerce' );
|
$this->title = __( 'Customer invoice / Order details', 'woocommerce' );
|
||||||
$this->description = __( 'Customer invoice emails can be sent to customers containing their order information and payment links.', 'woocommerce' );
|
$this->description = __( 'Customer invoice emails can be sent to customers containing their order information and payment links.', 'woocommerce' );
|
||||||
$this->template_html = 'emails/customer-invoice.php';
|
$this->template_html = 'emails/customer-invoice.php';
|
||||||
$this->template_plain = 'emails/plain/customer-invoice.php';
|
$this->template_plain = 'emails/plain/customer-invoice.php';
|
||||||
|
|
Loading…
Reference in New Issue