• I have some current user, and he has to have possibility change his password in frontend. How to do it by PHP? The main problem is when i try to change password by
    $wpdb->update( $wpdb->users, array( ‘user_pass’ => md5($password) ),
    array( ‘user_login’ => $username ) )

    it doesnot work because user is logged i think.

  • The topic ‘How to change user password when he is logged in?’ is closed to new replies.