• I have searched the WordPress plugin directory to see if I’ll find a plugin that will do what i want but didn’t find one
    But I found a plugin that does 50% of what I want
    And I want to add the rest of the features to the plugin, I’m not that good in developing with WordPress but I have little experience.
    This feature requires adding a column to the plugin’s database.
    What I want the column to is is
    It should be functional for all registered user, I mean every registered user on my WordPress site should have theirs, e.g each user should have their own account balance
    I should be able to modify it for each user with a php code.
    And it should only support numbers

    How do I add this to the database?

Viewing 1 replies (of 1 total)
  • You don’t really need a new column, and it’s better for compatibility with other plugins if you don’t add one.
    The users are stored in the user table, but most of the data about the user is stored in the user meta table. So all you have to do is add the data to the existing user meta table.
    Read some of the code reference: user_meta reference

Viewing 1 replies (of 1 total)

The topic ‘I need help with adding column to WordPress database’ is closed to new replies.