Merge pull request #21709 from dixitadusara/remove-email-text
Remove email text from admin order confirmation email
This commit is contained in:
commit
8c977d67e1
|
@ -26184,11 +26184,6 @@ msgstr ""
|
|||
msgid "You’ve received the following order from %s:"
|
||||
msgstr ""
|
||||
|
||||
#: templates/emails/admin-new-order.php:50
|
||||
#: templates/emails/plain/admin-new-order.php:50
|
||||
msgid "Over to you."
|
||||
msgstr ""
|
||||
|
||||
#: templates/emails/customer-completed-order.php:28
|
||||
#: templates/emails/customer-invoice.php:30
|
||||
#: templates/emails/customer-new-account.php:27
|
||||
|
|
|
@ -46,9 +46,6 @@ do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text,
|
|||
* @hooked WC_Emails::email_address() Shows email address
|
||||
*/
|
||||
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
|
||||
?>
|
||||
<p><?php esc_html_e( 'Over to you.', 'woocommerce' ); ?></p>
|
||||
<?php
|
||||
|
||||
/*
|
||||
* @hooked WC_Emails::email_footer() Output the email footer
|
||||
|
|
|
@ -47,8 +47,6 @@ do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text,
|
|||
*/
|
||||
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
|
||||
|
||||
echo esc_html__( 'Over to you.', 'woocommerce' ) . "\n\n";
|
||||
|
||||
echo "\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";
|
||||
|
||||
echo esc_html( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
|
||||
|
|
Loading…
Reference in New Issue