Merge pull request #21709 from dixitadusara/remove-email-text

Remove email text from admin order confirmation email
This commit is contained in:
Claudiu Lodromanean 2018-10-29 11:45:24 -07:00 committed by GitHub
commit 8c977d67e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 0 additions and 10 deletions

View File

@ -26184,11 +26184,6 @@ msgstr ""
msgid "Youve 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

View File

@ -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

View File

@ -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' ) ) );