add action hook for lostpassword_form
Similar to registration form. see file `templates/myaccount/form-login.php`. Will allow additional captcha testing for example.
This commit is contained in:
parent
17fb3874e6
commit
b774e46659
|
@ -43,6 +43,8 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
|
||||
<div class="clear"></div>
|
||||
|
||||
<?php do_action( 'woocommerce_lostpassword_form' ); ?>
|
||||
|
||||
<p class="form-row">
|
||||
<input type="hidden" name="wc_reset_password" value="true" />
|
||||
<input type="submit" class="button" value="<?php echo 'lost_password' == $args['form'] ? __( 'Reset Password', 'woocommerce' ) : __( 'Save', 'woocommerce' ); ?>" />
|
||||
|
|
Loading…
Reference in New Issue