...
...

Create a WordPress Admin login with Custom Code

Tutorials, Wordpress | 23 July 2018

A few times I’ve gotten into a situation where I have access to WordPress files (via SFTP or other means) but I’m otherwise locked out of the site (my user hasn’t been created or was accidentally deleted). In those cases, the quickest option is generally just to create a new admin user with custom code.

View More