Nodejs and NPM have made life so easier. If you use Gulp toolkit with it I am sure you love it 😍 However, I came...
Create WordPress Admin Account Using FTP
Fahid JavidHave you ever had a client need help on their WordPress site, and have FTP access, but not actually give you a WordPress account to use?
All you have to do to create a new admin user in WordPress with FTP, All right? Add the following code snippet to the end of your theme’s ‘functions.php’ file and use FTP to upload it to your server.
Make sure to change the credentials in the code there to what you want your new account to be! The nice thing about this, too, is that if the username already exists, nothing will happen! Just change the username to something else and try again. Also remember to remove this code from your functions.php file after you are done and re-upload the file to your server.