password_reset action-hook . WC 1.0
Handles resetting the user's password.
Usage
add_action( 'password_reset', 'action_function_name_3599', 10, 2 ); function action_function_name_3599( $user, $new_pass ){ // action... }
- $user(object)
- The user.
- $new_pass(string)
- New password for the user in plaintext.
Where the hook is called
password_reset
woocommerce/includes/shortcodes/class-wc-shortcode-my-account.php 374
do_action( 'password_reset', $user, $new_pass );