If it’s information that logically belongs to a post/page – you store it in postmeta
(with update_post_meta
function). If it’s something that pertains to a user – usermeta
table is for you. More still, there’s Settings API in case you have a plugin that needs to persist any settings.
From your question it is somewhat unclear which of these would be best for you. What’s a “submission date“? The name and contact number, I’m guessing, are for a user, and so would belong in the usermeta
. Function update_user_meta
is a good place to start.
Related Posts:
- Compare User meta_value with Product meta_value
- Why WordPress choose data serialization over json_encode?
- Dealing with Many Meta Values, 30+
- What is the most secure way to store post meta data in WP?
- How to delete outdated, wrongly sized images in _wp_attachment_metadata?
- Meta query interfering with orderby relevance
- Migrating non-WordPress CMS to WordPress, lots of data to move — possible solutions?
- What’s the most efficient database method to add and query usermeta?
- How to solve slow WordPress site caused by attachment_metadata
- Delete all post meta except featured image
- Extend the wp_users table
- update_user_meta() does not work
- Select Multiple meta_value from WP DB; Single Query
- Multiple postmeta with same name for one post in wp_postmeta table
- Delete all post meta except featured image Using SQL
- Which is more efficient? Using usermeta, or creating a new MySQL table?
- One post carries 30 postmeta values, is this too much?
- A field with dashes in the slug [closed]
- delete post meta from db, even if does not exist?
- In what part of the WordPress core does the users table and usermeta table get joined?
- WordPress and MySQL: how to transfer Meta_key and Meta_Value from one post_id to another
- Storing data for a wordpress plugin
- Modify Database in Multi-Site wp_usermeta table
- Best way to tell if a user account is active, using the database only
- Where does the actual data stored by add_post_meta
- Structure of postmeta meta_value for woocommerce product download
- Using GROUP CONCAT in my-sql query with wp_usermeta table
- Routine to convert custom post meta from old to new value
- 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
- Saving zero as meta value
- Uknown meta entries in wp_postmeta
- Does post_meta data need to be unserialzed?
- 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
- Link image with data from the wpdb
- I cannot find the difference between these wp_capabilities values in wp_usermeta
- Buddypress avatar image in database [closed]
- Storing user submitted forms [closed]
- Custom Post Type not showing anything added by code anymore?
- wp_insert_user not creating account correctly when ID is manually set
- How to save EXIF metadata in WordPress database?
- _wp_attachment_metadata is not being added to database when PDF files uploaded
- Best Practice? – Saving multiple Values as Serialized Data / Saving each Value per Row / Dedicated Table
- Join Query on WP_USERMETA Table
- “BS_” rows in postmeta table
- how add more field to wp user and save it to database
- Move Non-WordPress users table to WordPress database
- Migrating meta_key and meta_value from old theme to new one
- generate PDF from member information
- Database structure for thousands of posts
- 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
- How much post meta data is too much?
- How do i get value from wp_postmeta?
- Preventing concurrent update of data
- Calling update_user_meta inside of another function doesn’t work
- Recommended Post Structure for DB Storage
- What is best for saving lot of extra detail of user?
- SQL query : Select a thumbnail for a media
- Log IP of users who click a button? [closed]
- wp_usermeta key problem
- Query a meta key using an array of values where the database value is a string
- How SID is different from Service name in Oracle tnsnames.ora
- What is a relation in database terminology?
- Reset Post IDs to less than 64bit integer
- Does WordPress use the InnoDB engine for MySQL by default?
- Best way to import users, post and categories from an external database
- Performance tips for a large user base [closed]
- wp_options is GB in size
- Can’t update database after wordpress update from 3.8.1 to 4.4.1
- Does WordPress always create unique passwords?
- Unable to set a default serialized array using dbdelta()
- Importing Data from a Non-WordPress database, into WP
- WP User Query with Custom Fields and Search Results
- Change the default data installed when setting up WordPress
- Remove “%” from strings in serialized arrays in wp_postmeta
- $wpdb->get_var – What value is returned when zero records are found?
- SymmetricDS in dev + prod workflow?
- Fixing YARPP plugin FULLTEXT MySQL indexing
- Check For get_post_meta on Author Archive Page
- wpdb Insert unknown post data dynamic foreach loop
- How do I use a database in a custom theme?
- I imported an restore an database and It shows #1067 – Invalid default value for ‘user_registered’
- How do you enable scripts on a WordPress installation in Softaculous?
- How to rerieve comments and their replies from DB
- Inserting data with Geometry field
- Export only a part of the database for migration
- database error WordPress move from one hosting to other
- Adding user meta to post meta wp_insert_post() not working
- After renaming MySQL database, I can no longer access my Blog page
- execute custom function on database connection error
- not saving post in wp_post wordpress database table
- How to add data from wordpress tables to new database tables you have created
- How to back-up a database on IIS
- Where are database files of a WordPress website?