skip to Main Content

This is kind of a noob question.

I just want to know if it’s okay to add new fields for the wp_users table?

Or should I create a new table? example wp_users_information

The reason that I asked the question is that maybe some future updates of wordpress might reset the wp_users fields to default.

Thank you

2

Answers


  1. I think the best way is to use user_meta.

    You can refer to this codex.

    https://codex.wordpress.org/Function_Reference/add_user_meta

    Login or Signup to reply.
  2. No, I would suggest to use usermeta table or a new custom table instead of adding column to wp_users table.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search