retrieve admin username without phpmyadmin or database access?
-
Hi,
I’m trying to retrieve information for a user who has forgotten their admin password, username, and apparently the email doesn’t work either for the forgot password link.
I think they used something besides the default “admin” for the username.
I put this code in the functions.php to reset the password as suggested in the codex
wp_set_password('temppassword',1);
But I can’t tell if it’s working because it doesn’t work with “admin” so I’m guessing there is no “admin” user.
Is there something similar to the function above to reset the administrator user name?
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘retrieve admin username without phpmyadmin or database access?’ is closed to new replies.