There are lots of examples to store the data in usermeta. But should
this amount of data be stored in the usermeta table?
I don’t see any reason why you should not use the default user meta data table, after-all that is what it is for, regardless of the amount of users/fields.
The user meta function , such as get user meta
uses get_metadata
with the $meta_type
object set to user. http://codex.wordpress.org/Function_Reference/get_metadata
If you want to mess around with new tables you can use the $wpdb
class and create a new one, this post covers how, http://codex.wordpress.org/Creating_Tables_with_Plugins .
There is also a plugin called Pods CMS that allows for the creation of custom database tables for content types, but unless you have a specific reason for doing so, just use the built in user meta tables.
Related Posts:
- Extend the wp_users table
- update_user_meta() does not work
- Select Multiple meta_value from WP DB; Single Query
- Is it possible to store visitors IPs in wp_postmeta table?
- Which is more efficient? Using usermeta, or creating a new MySQL table?
- A field with dashes in the slug [closed]
- In what part of the WordPress core does the users table and usermeta table get joined?
- Modify Database in Multi-Site wp_usermeta table
- Best way to tell if a user account is active, using the database only
- Using GROUP CONCAT in my-sql query with wp_usermeta table
- Is it safe to delete unnecessary user metadata?
- How to replicate a user plugin made table value, to this user’s custom meta table value?
- WordPress Database Huge wp_usermeta Table
- How to Access wp_usermeta Data Immediately After a New User is Created
- What can I do when an outside party hacks into my weblog and changes my display name?
- Users table missing from Database [closed]
- Recovering the table wp_usermeta from users
- I cannot find the difference between these wp_capabilities values in wp_usermeta
- Buddypress avatar image in database [closed]
- Storing user submitted forms [closed]
- wp_insert_user not creating account correctly when ID is manually set
- Compare User meta_value with Product meta_value
- Best Practice? – Saving multiple Values as Serialized Data / Saving each Value per Row / Dedicated Table
- Join Query on WP_USERMETA Table
- how add more field to wp user and save it to database
- Move Non-WordPress users table to WordPress database
- generate PDF from member information
- How to get the id of recently registered user from database?
- update multiple user meta field based on another meta field
- get_user_meta and umeta_id
- Preventing concurrent update of data
- Calling update_user_meta inside of another function doesn’t work
- What is best for saving lot of extra detail of user?
- wp_usermeta key problem
- Query a meta key using an array of values where the database value is a string
- MySQL SELECT increment counter
- Exclude Statement in SQL
- Detecting errors generated by $wpdb->get_results()
- wpdb update add current timestamp not working
- Displaying content from one WP site on separate WP site
- Lost the `wp_options` table: what’s the best way to restore the site?
- How to move existing WordPress wp-content folder along with database to new server and new domain name?
- How might I retrieve a featured post image from an external WP site and display it as a link back?
- What is the database table for pages?
- What are conventions about the schema of the $table_prefix
- WordPress database becoming huge. How to analyze and optimize it? fear of running out of memory
- Strange Deadlock database error for the query “Delete From wp_options”
- WooCommerce – Query for ordered products
- PHP variable in WordPress database query
- Differences between add_post_meta and update_post_meta
- Is a direct or import approach safer for migration into WordPress?
- One post carries 30 postmeta values, is this too much?
- Is it possible to split database tables using HyperDB?
- What happens if I overwrite the current wp_options table with a backup from a week ago?
- Critical error in final stage of website launch – URLs are BROKEN!
- How do I get WordPress login to ignore the password input if a particular username is used?
- Migrating WordPress from DreamHost to Azure WordPress Resource via UpdraftPlus “wp_options table does not exist…” error
- “Error establishing a database” connection on some sites
- How to Mirror WordPress database from Remote server to Local server
- WordPress is not creating table in database after activating plugin,
- How do I delete these post types in my WordPress database?
- Slow queries constantly getting stuck on WordPress database of ~100,000 posts
- How do I query wp_options for expired transient pairs with MySQL commands?
- WordPress running SQL query to update database from form
- Use same database on main domain & sub domain
- How do I convert a MySQL database from utf8mb4 to utf8 encoding?
- Why user_pass column in wp_users table is varchar(64)
- Why this query is not showing any result on wordpresss home page?
- How to migrate a database from a server to another
- Reinstalling wordpress from database breaks the site
- how to count click tab menu and insert to database
- Adding prefix to WordPress database tables breaks admin capabilities?
- What is the best way to resurrect and update my old WordPress site?
- Trouble running $wpdb->query() with last_insert_id
- Using $wpdb | checking entered email against existing emails in db
- wp-cli: Error establishing a database connection: undefined constant DB_USER
- Get results from wordpress data custom table
- Outputting query results
- Help With a Large WordPress Based MySQL Database on Shared Hosting
- Database migration issues – Error #1046 No database selected
- Can two domains use the same database?
- Search Character Set Problem
- How to fix Uploaded to this post option to see group of images uploaded to a post?
- adding user_id and name to a separate table whenever a user register based on role
- How to access a table in a wordpress database using REST API?
- User saved through WordPress backend does not show up in database table users
- Adding featured for post using database
- get_the_terms is not working
- Store id from database query in cookie
- Return image urls with specific base string?
- What WordPress file is saving new users to database
- Restoring .sql backup results in “Error establishing a database connection”
- Link to handle $_GET request
- WordPress sync with phpbb
- “MySQL server has gone away” since update to 3.8
- Getting deleted users in database
- Getting data from a table using a query
- Database interaction (private-public) [closed]
- SQL Query to get post_id from wp_posts and and meta_key(s) from wp_postmeta
- WordPress database connection failed, while mysql client is working [closed]