Due to some privacy policy i don't want to store user personal information such as First Name, Last Name and Email address in wordpress database. for this I want to signup user with only username and password at the default WP Registration form, can any one let me know how to remove the email field from the default wordpress registration form.

enter image description here

what code need to I change in my wordpress theme, please suggest!

1 Answer 1


There's a complicated answer and a simple answer.

The simple answer is, "You can't."

WordPress requires three specific fields for every user - login (username), email, and password. Of those, login and email must be unique values.

Email is necessary for a user to retrieve access to the site if they have forgotten their password.

There are methods to remove username and replace it with email (or a value derived from the email), but they run into various problems. But there is no way to simply dump email as a required field. Not only is it required in the default registration form, the user profile update requires this field as well and there is no method of filtering it out. Period.

The complicated answer is based on the above. You would have to come up with a way to create a "spoof" value to fill in the email for the user. That would include validating your value to make sure it was unique, and then also making sure that you prevent any emails being sent to these values unintentionally. It would be problematic.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.