dashboard.php
6 years ago
downloads.php
6 years ago
form-add-payment-method.php
8 years ago
form-edit-account.php
7 years ago
form-edit-address.php
6 years ago
form-login.php
6 years ago
form-lost-password.php
7 years ago
form-reset-password.php
7 years ago
lost-password-confirmation.php
6 years ago
my-account.php
7 years ago
my-address.php
6 years ago
my-downloads.php
6 years ago
my-orders.php
6 years ago
navigation.php
7 years ago
orders.php
6 years ago
payment-methods.php
6 years ago
view-order.php
6 years ago
form-lost-password.php
46 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Lost password form |
| 4 | * |
| 5 | * This template can be overridden by copying it to yourtheme/woocommerce/myaccount/form-lost-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 | * @package WooCommerce/Templates |
| 15 | * @version 3.5.2 |
| 16 | */ |
| 17 | |
| 18 | defined( 'ABSPATH' ) || exit; |
| 19 | |
| 20 | do_action( 'woocommerce_before_lost_password_form' ); |
| 21 | ?> |
| 22 | |
| 23 | <form method="post" class="woocommerce-ResetPassword lost_reset_password"> |
| 24 | |
| 25 | <p><?php echo apply_filters( 'woocommerce_lost_password_message', esc_html__( 'Lost your password? Please enter your username or email address. You will receive a link to create a new password via email.', 'woocommerce' ) ); ?></p><?php // @codingStandardsIgnoreLine ?> |
| 26 | |
| 27 | <p class="woocommerce-form-row woocommerce-form-row--first form-row form-row-first"> |
| 28 | <label for="user_login"><?php esc_html_e( 'Username or email', 'woocommerce' ); ?></label> |
| 29 | <input class="woocommerce-Input woocommerce-Input--text input-text" type="text" name="user_login" id="user_login" autocomplete="username" /> |
| 30 | </p> |
| 31 | |
| 32 | <div class="clear"></div> |
| 33 | |
| 34 | <?php do_action( 'woocommerce_lostpassword_form' ); ?> |
| 35 | |
| 36 | <p class="woocommerce-form-row form-row"> |
| 37 | <input type="hidden" name="wc_reset_password" value="true" /> |
| 38 | <button type="submit" class="woocommerce-Button button" value="<?php esc_attr_e( 'Reset password', 'woocommerce' ); ?>"><?php esc_html_e( 'Reset password', 'woocommerce' ); ?></button> |
| 39 | </p> |
| 40 | |
| 41 | <?php wp_nonce_field( 'lost_password', 'woocommerce-lost-password-nonce' ); ?> |
| 42 | |
| 43 | </form> |
| 44 | <?php |
| 45 | do_action( 'woocommerce_after_lost_password_form' ); |
| 46 |