woocommerce_customer_reset_password

woocommerce_customer_reset_password

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_customer_reset_password') is found 1 times:

  • /includes/class-wc-form-handler.php line 1083
     
    			if ( 0 === wc_notice_count( 'error' ) ) {
    				WC_Shortcode_My_Account::reset_password( $user, $posted_fields['password_1'] );
    
    				do_action( 'woocommerce_customer_reset_password', $user );
    
    				wp_safe_redirect( add_query_arg( 'password-reset', 'true', wc_get_page_permalink( 'myaccount' ) ) );
    				exit;
    			}
    		}
    	}