block
2 weeks ago
plain
2 weeks ago
admin-cancelled-order.php
1 year ago
admin-failed-order.php
9 months ago
admin-new-order.php
9 months ago
admin-payment-gateway-enabled.php
5 months ago
customer-abandoned-cart-recovery.php
1 month ago
customer-cancelled-order.php
9 months ago
customer-completed-order.php
9 months ago
customer-failed-order.php
9 months ago
customer-fulfillment-created.php
9 months ago
customer-fulfillment-deleted.php
9 months ago
customer-fulfillment-updated.php
4 months ago
customer-invoice.php
2 weeks ago
customer-new-account.php
2 months ago
customer-note.php
9 months ago
customer-on-hold-order.php
9 months ago
customer-pos-completed-order.php
9 months ago
customer-pos-refunded-order.php
9 months ago
customer-processing-order.php
9 months ago
customer-refunded-order.php
9 months ago
customer-reset-password.php
2 months ago
customer-review-request.php
3 months ago
customer-stock-notification-verified.php
2 months ago
customer-stock-notification-verify.php
1 year ago
customer-stock-notification.php
1 year ago
customer-verify-email.php
1 month ago
email-addresses.php
6 months ago
email-button.php
1 month ago
email-customer-details.php
1 year ago
email-downloads.php
9 months ago
email-footer.php
9 months ago
email-fulfillment-details.php
5 months ago
email-fulfillment-items.php
1 month ago
email-header.php
5 months ago
email-mobile-messaging.php
2 years ago
email-order-details.php
2 weeks ago
email-order-items.php
1 month ago
email-styles.php
1 month ago
email-footer.php
89 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Email Footer |
| 4 | * |
| 5 | * This template can be overridden by copying it to yourtheme/woocommerce/emails/email-footer.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 |
| 15 | * @version 10.4.0 |
| 16 | */ |
| 17 | |
| 18 | defined( 'ABSPATH' ) || exit; |
| 19 | |
| 20 | $email = $email ?? null; |
| 21 | |
| 22 | ?> |
| 23 | </div> |
| 24 | </td> |
| 25 | </tr> |
| 26 | </table> |
| 27 | <!-- End Content --> |
| 28 | </td> |
| 29 | </tr> |
| 30 | </table> |
| 31 | <!-- End Body --> |
| 32 | </td> |
| 33 | </tr> |
| 34 | </table> |
| 35 | </td> |
| 36 | </tr> |
| 37 | <tr> |
| 38 | <td align="center" valign="top"> |
| 39 | <!-- Footer --> |
| 40 | <table border="0" cellpadding="10" cellspacing="0" width="100%" id="template_footer" role="presentation"> |
| 41 | <tr> |
| 42 | <td valign="top"> |
| 43 | <table border="0" cellpadding="10" cellspacing="0" width="100%" role="presentation"> |
| 44 | <tr> |
| 45 | <td colspan="2" valign="middle" id="credit"> |
| 46 | <?php |
| 47 | $email_footer_text = get_option( 'woocommerce_email_footer_text' ); |
| 48 | /** |
| 49 | * This filter is documented in templates/emails/email-styles.php |
| 50 | * |
| 51 | * @since 9.6.0 |
| 52 | */ |
| 53 | if ( apply_filters( 'woocommerce_is_email_preview', false ) ) { |
| 54 | $text_transient = get_transient( 'woocommerce_email_footer_text' ); |
| 55 | $email_footer_text = false !== $text_transient ? $text_transient : $email_footer_text; |
| 56 | } |
| 57 | echo wp_kses_post( |
| 58 | wpautop( |
| 59 | wptexturize( |
| 60 | /** |
| 61 | * Provides control over the email footer text used for most order emails. |
| 62 | * |
| 63 | * @since 4.0.0 |
| 64 | * |
| 65 | * @param string $email_footer_text |
| 66 | */ |
| 67 | apply_filters( 'woocommerce_email_footer_text', $email_footer_text, $email ) |
| 68 | ) |
| 69 | ) |
| 70 | ); |
| 71 | ?> |
| 72 | </td> |
| 73 | </tr> |
| 74 | </table> |
| 75 | </td> |
| 76 | </tr> |
| 77 | </table> |
| 78 | <!-- End Footer --> |
| 79 | </td> |
| 80 | </tr> |
| 81 | </table> |
| 82 | </div> |
| 83 | </td> |
| 84 | <td><!-- Deliberately empty to support consistent sizing and layout across multiple email clients. --></td> |
| 85 | </tr> |
| 86 | </table> |
| 87 | </body> |
| 88 | </html> |
| 89 |