There are multiple storage mechanisms in WP so it can be bit tricky to pick one and sometimes there is no single right choice.
Let’s examine your criteria for storage:
- persistent (you don’t want data just evaporating)
- processable (you want to export it and probably navigate)
- simple to implement (you don’t want go building something (semi)custom just for the heck of it)
- extensible (in case you want to capture more data down the road and such)
As for me the best storage to satisfy these condition would be using custom post type. It comes with a lot of functionality out of the box (like admin interface), requires no messing with storage (custom tables or whatever) and is perfectly suited to store arbitrary information in custom fields.
Related Posts:
- How to Add an Index to Plugin Database table
- Creating two database tables via plugin
- How does WordPress handle MySQL row lock errors?
- WordPress register_activation_hook table creation not working
- Default Plugin Settings Not Writing to Database
- Plugin Options Not Saving to Database in WP 4.5
- How to create custom tables in WordPress using my own plugin?
- Is it possible to create Custom Post plug-in?
- Help With MySQL to WPDB Query Conversion
- Prevent duplicate records in plugin table
- WordPress Backend HA (Automatic failover)
- How can I change the meta_key for a particular piece of information?
- Can I create a table on my DB without creating a plugin?
- WordPress : Explain Plugins & Theme string value in database
- Is it necessary to auto delete my WP plugin database tables when users deactivate/delete my plugin?
- How to insert and call new data in wordpress website database through a plugin
- WPDB: Update table
- Issue running db create table query from static method
- Separate database for a wordpress plugin
- Best/Correct way to add an option to a category
- What is the WordPress approach to custom data?
- How to create plugin/ page that reads from database
- DB Query not working in Plugin
- Comment “like” problem – “users who like this” avatar linking to current user profile instead of “liker’s” profile
- WordPress plugin: efficient way to store large data
- Integrating Custom Database with WordPress
- How to display results from a data table with an encrypted user id?
- How to make a Product page without ordering and database
- I want to schedule email (date, time is in database->table) wp_schedule_event() not working
- How to securely controlling data without keeping it in postmeta?
- $wpdb->insert not working inside save_post tag
- Where do the section input fields values are stored in database
- My plugin can’t see my files
- how can i get records from wp_postmeta table using particular meta_key in database?
- Create New Admin Menu Section – Like how custom post type works, in a way
- Creating fields in the database
- How to submit the custom form data in database in WordPress without plugin?
- get_option returning a different value from what’s saved
- How can I delete the options from DB when the plugin is deleted?
- register_activation_hook not working
- On the same site, how do I send data from a plugin file to a theme file?
- plugin doesn’t retrieve data from database
- Edit plugin without hooks in functions.php
- How to find out if option exists but is empty?
- Is dynamic forms/entries possible in Widget?
- Trigger a custom wordpress plugin with a linux cron
- update_meta_user difference in i:1 and b:1, how to write b:1
- Add_rewrite_rule doesn’t add custom url in plugin
- How to add inline css/js inside a shortcode
- Is this plugin being loaded before file.php, subsequently not allowing me to use certain functions?
- Ajax with jQuery UI dialog not working
- How do I write into a file (css)
- How to periodically scrape and cache strings from remote txt files. – My First Plugin
- why doesn’t this update part of this plugin work? it take me to nothing here page
- Using a custom plugin to capture input data via Ajax and PHP
- Display post lists in 2nd paragraph
- Session destroyed on page redirect
- Is there a way to test that readme looks in other language before submitting translation?
- Create tabs in admin options page from custom post type loop
- ob_start() combined with wp_query
- How can I remove the WordPress-Version (?ver=5.x) from my plugin
- Settings API saved values not getting shown in the dropdownbox
- populating a form field with output from a custom plugin function
- Custom Login Page — wp_signon Headers Already Sent?
- Why Does The `auto_update_plugin` Hook Disable Management?
- Is there a way to add custom endpoint to specific page only
- IF condition based on wp_remote_get output
- Add User Role: Pre-saved in User-Meta [SOLVED]
- Is there a script to collect all hooks and filters provided by a plugin?
- How WordPress core manage the plugin installation
- Post status doesn’t update to ‘future’ every time?
- Storing The Data Collected by Ninja Forms into Another (custom) Database [closed]
- count the number of views of a post excluding own views
- How to set Google Analytics tracking code on WordPress plugin directory page?
- Show Custom Post on Frontend
- Problem with checked box on wp car manager plugin
- Performing CRUD operations on front end in wordpress
- Create a link that calls our custom function in WordPress
- WordPress Ajax request “Failed to load resource: the server responded with a status of 400 ()”
- Load my Inline js footer area
- Remove action added in plugin class from theme
- wc_get_product_terms() throws “Notice: Undefined offset: 0”
- Woocommerce list variations that are added already to cart in Single Product
- WordPress Admin sub-level menu issue
- How do I add a textarea (multirow) option to my WordPress plugin?
- Passing ajax variable to more than one wordpress plugin function
- HyperDB failover Delay
- Why isn’t my plugin seeing other classes?
- How to add jquery to my custom post type wp plugin
- Update post meta not working on wp_postmeta
- Check if user is in a group of another site within multisite network [closed]
- Redirect url in plugin to somewhere else?
- wp_insert_post_data filter to set category
- is there a way I can add or remove some plugin options?
- What can I do to customize a widget provided with this plugin? from where have I to start?
- add_meta_box showing blank screen in my page
- Use inline callable for hooks and filters
- Error in using ‘admin_enqueue_scripts’ action through a class
- Edit a page/post DB data?
- How do i fix this error?