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:
Jörn Lund 2015-03-20 17:44:11 +01:00
parent 17fb3874e6
commit b774e46659
1 changed files with 2 additions and 0 deletions

View File

@ -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' ); ?>" />