This guide covers add WordPress user FTP with practical steps you can copy into a real project.

Add WordPress user FTP

Recently, one of our clients sent us a list of WordPress website changes with FTP details, but they did not have WordPress admin login details.

The code below helped us add a WordPress administrator user. Add this code to functions.php of the active theme.

Delete this code after you log in successfully.

Happy coding. Feel free to ask if you have any questions.

Related reading

Questions? Use the contact page.

Reference: wp_create_user.