admin-cancelled-order.php
1 year ago
admin-failed-order.php
1 year ago
admin-new-order.php
11 months ago
admin-payment-gateway-enabled.php
2 months ago
customer-cancelled-order.php
11 months ago
customer-completed-order.php
1 year ago
customer-failed-order.php
1 year ago
customer-fulfillment-created.php
10 months ago
customer-fulfillment-deleted.php
10 months ago
customer-fulfillment-updated.php
1 month ago
customer-invoice.php
1 year ago
customer-new-account.php
11 months ago
customer-note.php
10 months ago
customer-on-hold-order.php
1 year ago
customer-pos-completed-order.php
11 months ago
customer-pos-refunded-order.php
11 months ago
customer-processing-order.php
1 year ago
customer-refunded-order.php
1 year ago
customer-reset-password.php
1 year ago
customer-review-request.php
3 weeks ago
customer-stock-notification-verified.php
9 months ago
customer-stock-notification-verify.php
9 months ago
customer-stock-notification.php
9 months ago
email-addresses.php
2 years ago
email-customer-details.php
2 years ago
email-downloads.php
2 years ago
email-fulfillment-details.php
10 months ago
email-fulfillment-items.php
1 month ago
email-order-details.php
1 month ago
email-order-items.php
1 month ago
admin-payment-gateway-enabled.php
56 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Admin payment gateway enabled email (plain text) |
| 4 | * |
| 5 | * This template can be overridden by copying it to yourtheme/woocommerce/emails/plain/admin-payment-gateway-enabled.php. |
| 6 | * |
| 7 | * HOWEVER, on occasion WooCommerce will need to update template files and you |
| 8 | * (the theme developer) will need to copy the new files to your theme to |
| 9 | * maintain compatibility. We try to do this as little as possible, but it does |
| 10 | * happen. When this occurs the version of the template file will be bumped and |
| 11 | * the readme will list any important changes. |
| 12 | * |
| 13 | * @see https://woocommerce.com/document/template-structure/ |
| 14 | * @package WooCommerce\Templates\Emails\Plain |
| 15 | * @version 10.7.0 |
| 16 | */ |
| 17 | |
| 18 | defined( 'ABSPATH' ) || exit; |
| 19 | |
| 20 | echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n"; |
| 21 | echo esc_html( wp_strip_all_tags( $email_heading ) ); |
| 22 | echo "\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n"; |
| 23 | |
| 24 | /* translators: %s: Username */ |
| 25 | echo sprintf( esc_html__( 'Howdy %s,', 'woocommerce' ), esc_html( $username ) ) . "\n\n"; |
| 26 | |
| 27 | echo sprintf( |
| 28 | /* translators: 1: gateway title, 2: site URL */ |
| 29 | esc_html__( 'The payment gateway "%1$s" was just enabled on this site: %2$s', 'woocommerce' ), |
| 30 | esc_html( $gateway_title ), |
| 31 | esc_html( home_url() ) |
| 32 | ) . "\n\n"; |
| 33 | |
| 34 | echo esc_html__( 'If you did not enable this payment gateway, please log in to your site and consider disabling it here:', 'woocommerce' ) . "\n"; |
| 35 | echo esc_url( $gateway_settings_url ) . "\n\n"; |
| 36 | |
| 37 | /* translators: %s: admin email address */ |
| 38 | echo sprintf( esc_html__( 'This email has been sent to %s', 'woocommerce' ), esc_html( $admin_email ) ) . "\n\n"; |
| 39 | |
| 40 | echo "\n----------------------------------------\n\n"; |
| 41 | |
| 42 | /** |
| 43 | * Show user-defined additional content - this is set in each email's settings. |
| 44 | */ |
| 45 | if ( $additional_content ) { |
| 46 | echo esc_html( wp_strip_all_tags( wptexturize( $additional_content ) ) ); |
| 47 | echo "\n\n----------------------------------------\n\n"; |
| 48 | } |
| 49 | |
| 50 | /** |
| 51 | * Filter the email footer text. |
| 52 | * |
| 53 | * @since 3.7.0 |
| 54 | */ |
| 55 | echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) ); |
| 56 |