password_reset

password_reset

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('password_reset') is found 1 times:

  • /wp-includes/user.php line 3367
    3363
    3364
    3365
    3366
    3367
    3368
    3369
    3370
    3371
    3372
    3373
    *
     * @param WP_User $user     The user.
     * @param string  $new_pass New user password.
     */
    do_action( 'password_reset', $user, $new_pass );
     
    wp_set_password( $new_pass, $user->ID );
    update_user_meta( $user->ID, 'default_password_nag', false );
     
    /**
     * Fires after the user's password is reset.

See this hook used in plugins: