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
- wp_update_post function exclude specific field
- Understanding Redundant postmeta Tables in WordPress Database
- update_post_meta returns ID, but nothing in the database
- Configure WordPress to use MariaDB over SSL?
- Editing a WordPress post content from the database does nothing
- How to maintain development losing any user’s data
- Merging multiple WP databases into one for a multilanguage site prevents access to language-specific WP administration
- How to disable publish_future_post auto add wp_options cron
- I have uploaded thousands of files in the uploads folder via FTP and I want to register them into the database without any plugin
- Set limitations of wp_update_post()?
- Want to use a single database and single table (wp_posts and wp_postmeta) for two different sites
- Add tags to blog-posts by php-script
- If an Application Password is accidentally revoked, is there any way to restore it?
- WordPress post on home page of my website
- Help required with local wordpress setup
- #1067 – Invalid default value for ‘post_date’ when trying to create a new column
- Help with vehicle performance website
- Distributed plugin – add support for Cyrillic
- Hide username from blog post source code
- How is better to store at DB 1-side relationsip from CPT to many Taxonomies Terms ID’s?
- Dynamic Gallery: Worpress’ equivalents for Wix’s collection and repeater
- WordPress copying data from one custom post type to another
- wp-admin login redirecting to home page
- How to change all the images in post content to full/orginal size – Thumbnails are broken
- large number (bigint) for post ID issue in database
- Can I Load posts from an External database if the post is not found on Main WordPress Database
- Add independent connections for reading and writing to the database in WordPress
- how to run tests using different db connection
- Combining two select posts from mysql – to get least viewed posts
- WordPress Admin login problems- PLEASE HELP [closed]
- Deleting WordPress posts and media files based on author via MYSQL database
- Export and import, only new and updated WordPress data
- Automatically synchronizing content between two WordPress installations with different themes and plugins