plain
9 years ago
admin-cancelled-order.php
9 years ago
admin-failed-order.php
9 years ago
admin-new-order.php
9 years ago
customer-completed-order.php
9 years ago
customer-invoice.php
9 years ago
customer-new-account.php
9 years ago
customer-note.php
9 years ago
customer-on-hold-order.php
9 years ago
customer-processing-order.php
9 years ago
customer-refunded-order.php
9 years ago
customer-reset-password.php
9 years ago
email-addresses.php
9 years ago
email-customer-details.php
9 years ago
email-footer.php
9 years ago
email-header.php
9 years ago
email-order-details.php
9 years ago
email-order-items.php
9 years ago
email-styles.php
9 years ago
customer-reset-password.php
38 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Customer Reset Password email |
| 4 | * |
| 5 | * This template can be overridden by copying it to yourtheme/woocommerce/emails/customer-reset-password.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://docs.woocommerce.com/document/template-structure/ |
| 14 | * @author WooThemes |
| 15 | * @package WooCommerce/Templates/Emails |
| 16 | * @version 2.0.0 |
| 17 | */ |
| 18 | |
| 19 | if ( ! defined( 'ABSPATH' ) ) { |
| 20 | exit; // Exit if accessed directly |
| 21 | } |
| 22 | |
| 23 | ?> |
| 24 | |
| 25 | <?php do_action( 'woocommerce_email_header', $email_heading, $email ); ?> |
| 26 | |
| 27 | <p><?php _e( 'Someone requested that the password be reset for the following account:', 'woocommerce' ); ?></p> |
| 28 | <p><?php printf( __( 'Username: %s', 'woocommerce' ), $user_login ); ?></p> |
| 29 | <p><?php _e( 'If this was a mistake, just ignore this email and nothing will happen.', 'woocommerce' ); ?></p> |
| 30 | <p><?php _e( 'To reset your password, visit the following address:', 'woocommerce' ); ?></p> |
| 31 | <p> |
| 32 | <a class="link" href="<?php echo esc_url( add_query_arg( array( 'key' => $reset_key, 'login' => rawurlencode( $user_login ) ), wc_get_endpoint_url( 'lost-password', '', wc_get_page_permalink( 'myaccount' ) ) ) ); ?>"> |
| 33 | <?php _e( 'Click here to reset your password', 'woocommerce' ); ?></a> |
| 34 | </p> |
| 35 | <p></p> |
| 36 | |
| 37 | <?php do_action( 'woocommerce_email_footer', $email ); ?> |
| 38 |