Register new user in WordPress from functions.php is required generally if we don’t have access to admin. Only ftp we have.
We can create user from fucntions.php easily by simply adding this code in functions.php

Just change username, password and email as per your need and all done.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.