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
- how to create child WordPress plugin
- Plugins or Tutorials for displaying data from SQL-db on WP-page? [closed]
- How to Loop Plugin Option Field Set?
- How to test a WordPress plugin through the upgrade automatically feature
- How to Create a Directory in a Plugin Folder?
- Failed to invoke other hook from the init hook
- Create plugin that works in background
- Checking for user role in a custom plugin
- Extend Elementor Archive Posts widget with a custom skin in order to show multiple badges
- HELP: Integrating WP with raw PHP code once published button is hit
- Custom preview_post_link not working for draft post
- wp_enqueue_script fails to include in footer
- jQuery function didn’t work in my plugin
- How to make Http Request to a php file present in plugin directory of wordpress
- Can we use a webservice with WordPress?
- WooCommerce get_price returning wrong price when used via ajax
- New User Form – Custom Menu Page
- Checking instances of scripts in wp_head
- How to access data in wordpress database externally using php
- How can I prevent my plugin go development trunk [closed]
- Best way to maintain and update 3rd-party WP plugin when developer is unresponsive?
- Are functions in main plugin file called before function bound to register_activation_hook runs?
- Best place for if/else piece of code related to custom plugin?
- how to do login using woocommerce rest api From android
- How to create a code editor for my plugin .?
- Manually set a custom admin sub-menu selected?
- How can I remove the WordPress-Version (?ver=5.x) from my plugin
- Settings API saved values not getting shown in the dropdownbox
- Why Does The `auto_update_plugin` Hook Disable Management?
- Is there a way to add custom endpoint to specific page only
- Is there a script to collect all hooks and filters provided by a plugin?
- Post status doesn’t update to ‘future’ every time?
- Unable to give correct path in wordpress
- Disable variations on woo commerce if out of stock
- How to add img into a plugin?
- How to hide plugin submenu title in drop down in admin panel in wordpress?
- Show Custom Post on Frontend
- 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
- Using multi-dimensional array with filter
- WordPress Admin sub-level menu issue
- PHP header() not available to use in my plugin
- database – multiple wordpress installations using same database – can they share plugin settings?
- HyperDB failover Delay
- How to insert category name above post title in a featured pages plugin?
- Displaying friend’s posts only
- How to add submenu to WordPress plugin in the same Directory of main Plugin?
- How to add jquery to my custom post type wp plugin
- Check if user is in a group of another site within multisite network [closed]
- Synch Custom Post Types (and Custom Fields, Cats, etc.) Between WordPress Sites
- Redirect url in plugin to somewhere else?
- Site is setup statically – how to make it content managable?
- Modifying lightbox plugin to allow for quoting, Does this exist? [closed]
- How to escape html code?
- WordPress custom block: Link saved in database not retrieved when editing post
- Accessing Correct Database to Create REST API Endpoint
- Detect if user is on the specific page in WordPress