WordPress.org

Support

Support » Plugins and Hacks » storing plugin data: create new table or edit existing?

storing plugin data: create new table or edit existing?

  • Speigei
    Member

    @speigei

    Hello all,

    I am currently creating my first plugin, which displays the birthdays of the registered members.

    Logically, the Birthdate should be stored with the other user data in the “x_users” table. However, I am unsure if it’s a good idea in terms of upgradability to newer wordpress versions to alter that table.
    Alternatively I could just create a new table.

    What would you guys suggest? There’s nothing like a “users_meta” table is there?

Viewing 1 replies (of 1 total)
  • skippy
    Member

    @skippy

    For the time being, you’re probably better off either creating a new table, or using the wp_options table.

    The entire user system is scheduled to be overhauled in the next version of WordPress, so the table changes you might make to that table now might need to be revised later (or may cause upgrade troubles when 1.6 is released).

Viewing 1 replies (of 1 total)
  • The topic ‘storing plugin data: create new table or edit existing?’ is closed to new replies.