Easy method to reset wordpress admin password

an easy way to reset wordpress admin password via FTP follow this steps: 1 – Login to your site via FTP 2 – download your active theme’s functions.php file 3 – Edit the file and add this code to it, after the first <?php:

“1” is the user ID number in the wp_users table, and ‘password’ is your new password