WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

what are the differences between wp_users and wp_usermeta tables?

i use wp-email-login plugin and i just noticed that if a user change his email in the profile page it saved in the wp_usermeta table and not in the wp_users table, this is a problem cause the user have to use the first email to login successful, if he use the new (changed) email he can't get access.

does anyone here can explain me why and how i can save the user email in the wp_users table?

thanks a lot

share|improve this question
up vote 4 down vote accepted

wp_users is the primary table, with a fixed list of columns.

wp_usermeta is an additional table for storing arbitrary information (custom fields).

The wp_users table already has a user_email column, so I don't know why the plugin uses wp_usermeta. I guess the best person to ask would be the plugin author himself.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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