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