If the option is auto loading (and in pippin’s code they are) then there isn’t any difference except for coding style as all auto loadable options are fetched together in one query in init time and cached in the memory and at this point get_option
is not more then a wrapper around accessing a php array.
If you decide to use not auto loading option it becomes a question of how are you going to use the data, if mostly to get the info for a single term then having a multi dimensional array that will bring info about other terms is a waste.
Related Posts:
- Changing BIGINT to INT
- Is it ok to call get_option without hooks?
- clean wp_options table unused rows
- Remove obsolete plugins artifacts from database tables
- Default Plugin Settings Not Writing to Database
- WP plugins for building a database?
- Where does WordPress store plugin (enabled/disabled) status for multisite?
- How to remove traces from widget during uninstallation
- wp_editor content in plugin options page
- Gathering and logging data from a plugin: how to do it without race conditions?
- Updating options into the wp database performance
- Plugin has added weird data in wp_options, set to autoload
- How to add a custom form to a plugin’s setting page
- update_option creates an option, which empties on a blog reload
- Enable plugins that are “not supported”
- database – multiple wordpress installations using same database – can they share plugin settings?
- How to find an option in the database?
- When to store store plugin options as a single database record?
- Where (or when) should I register a new taxonomy?
- WordPress takes too much time (100 seconds) to load – Front end and back end
- Limit Number of Taxonomy Terms (Images) Displayed
- Widget for adding HTML markup to a page
- When to use action hooks and plugins
- How I can get custom field’s current value?
- Plugin Options Not Saving to Database in WP 4.5
- WordPress get_option and update_option returned entered on the textbox field
- Multiple wp_options tables to share content across installs
- WordPress performance – W3 Total Cache and memcached/APCu
- Doubt using $wpbd->get_col for a single column
- Get plugin option in another PHP file
- Create mobile navigation header with settings integration
- Access WordPress database outside of WordPress
- How to create custom tables in WordPress using my own plugin?
- how to find and correct plugin query performance issues
- Image upload and other options in the same plugin settings form?
- Want wp_get_post_terms return in arbitrarily order, how to do?
- How to access data in wordpress database externally using php
- Correct way to perform non-cacheable DB query
- Is it possible to create Custom Post plug-in?
- What’s the best way to implement AJAX in WordPress?
- WordPress Settings Lost After Site Migration
- Help With MySQL to WPDB Query Conversion
- List taxonomy terms for post as checkboxes
- Admin Theme customization
- custom user tables supported in SharDB plugin?
- How to get specific setting by settings_fields()?
- Does using WP-cron make the site slower for the user?
- DROP TABLE with uninstall hook not working
- How to check if tables in WordPress still exists after activations
- how to oauth1 Wp plug-in revoke/reset.?
- Prevent duplicate records in plugin table
- ‘No Results Found’ on single post for custom post type
- Add Plugin options as subpage to Theme options page
- page loading time of a cached page
- auto populate list of questions if user select a category xyz
- changes to widget settings not showing up in individual pages pages until they’re updated [closed]
- Show admin notice on incorrect value on form field
- How can I perform high-level database merging for WordPress within continues delivery?
- Delete query not working in plugin
- Will Gutenberg Have a Negative Impact on Page Speed?
- php page not found for plugin options menu
- How do I network enable a plugin for a multisite install via the database?
- WordPress Backend HA (Automatic failover)
- import posts with dutch/special letters
- How to set taxonomy in custom plugin?
- Automatic switch to backup database on fail
- How can I change the meta_key for a particular piece of information?
- WP_Terms_List_Table Quick Edit not working
- Migrating to WordPress Recipe Plugin and Some SQL Issues
- add tabs in rdp-plugin/includes/settings.php and get settings saved
- WordPress Integration with Google Groups
- Enabling plugin failed because MySQL user do not have CREATE permissions
- Create a table with wordpress plugin boilerplate
- Multiple instance of data in plugin custom database table on plugin activation
- How to get DEFER or ASYNC attribute to appear when I add a stylesheet with wp_enqueue_style from a plugin? [duplicate]
- WordPress and a secondary database?
- WordPress plugin creating database in localhost but not on real host
- Why this function not working for install database on plugin activation
- Does auto_load to ‘no’ in wp_options improve performance
- “Custom Post Type Permalinks” plugin URL strcuture
- Ordering taxonomies by rank
- options creation for plugins
- Plugin generated taxonomies’ permalinks with custom placeholders
- plugin code is pulling information from database in one instance and not in other. What is wrong?
- “Master” WordPress Multisite – Database Sync
- w3 Total Cache not Caching – Requested URI is rejected [closed]
- Better ads plugin has 500.000 entries in wp_postmeta
- How to create an option page for this simple plugin
- Redirect to another page using contact form 7? [closed]
- How to create multiple database tables on plugin activation?
- Template filter for custom taxonomy terms
- Improving the perfomance of a plugin action
- Can I create a table on my DB without creating a plugin?
- get_option error plugin development
- 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?
- Namespaced shortcode?
- Does deleting a Plugin via the WordPress admin ‘completely’ remove the code?
- Creating a CSV with PHP inside the plugin directory
- Plugins in WP_Options but not Active