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?
- Contact form 7 select box different value-text than content-text in option [closed]
- Is it bad practice to create own table for a plugin?
- How to Add an Index to Plugin Database table
- How can I delete orphan keys in WordPress database tables?
- What are these entries in the database? Looks similar to JSON
- Creating two database tables via plugin
- Query Posts by Custom Field ‘Price’
- Inherit plugin settings to new site in Multisite
- Insert query inserts 2 entries, should insert 1
- Network-Wide Plugin Settings Management
- remove custom taxonomy metabox form custom post type
- WordPress shortcodes & performance
- Should I global $wpdb outside of any of my plugin’s functions scope?
- Woocommerce custom shared taxonomy
- Is there a reliable way to keep track of how long a WordPress theme has been active?
- How to add rewrite rules and pagination to retrieve attachments files?
- add action wp_head not working
- Update Option Error: Notice: Undefined index
- How to determine what is generating large amount of database queries?
- Retrieving a Value from a wp-database
- Need help restoring my WordPress blog
- Doubt using $wpbd->get_col for a single column
- Get plugin option in another PHP file
- Image upload and other options in the same plugin settings form?
- Is it possible to create Custom Post plug-in?
- Delete query not working in plugin
- Will Gutenberg Have a Negative Impact on Page Speed?
- How do I network enable a plugin for a multisite install via the database?
- import posts with dutch/special letters
- How to set taxonomy in custom plugin?
- How can I change the meta_key for a particular piece of information?
- Enabling plugin failed because MySQL user do not have CREATE permissions
- Does auto_load to ‘no’ in wp_options improve performance
- options creation for plugins
- w3 Total Cache not Caching – Requested URI is rejected [closed]
- Improving the perfomance of a plugin action
- Creating a CSV with PHP inside the plugin directory
- One sub site is slow while all others load fine, same theme & plugins [closed]
- Saving widget options from class method
- WordPress stats: OWA plugin overhead in the future
- How to create plugin/ page that reads from database
- Change in one place the data about the company, which are placed on several pages
- Assign all Post in Wp to a specific Category
- How to save plugin custom settings page fields
- wp_insert_term() doesnt insert a term
- Storing The Data Collected by Ninja Forms into Another (custom) Database [closed]
- How to reinstate previously saved option?
- Is wp_deregister_script the best way to deal with unneeded plugins in a page?
- Adding a theme option to the admin that lets me turn on/off a javascript file
- WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version [closed]
- Localise settings section headline
- how to create hierachial taxonomy and manage under single post type?
- How to make a Product page without ordering and database
- wp_options not returning value for logged out users?
- How can I display selected content from a seperate database in an Activity style widget?
- Adding category base to url in custom post giving 404?
- Problem with MEMCACHE and Redis with wp_options
- $wpdb->delete not working for me
- Performing CRUD operations on front end in wordpress
- How to add specific script to WordPress webpage that will working with user input and databases
- I want to schedule email (date, time is in database->table) wp_schedule_event() not working
- How to use WordPress header function and footer function and not load word press database
- How to securely controlling data without keeping it in postmeta?
- Store GravityForm data in phpmyadmin (mysql)
- Show custom taxonomy in theme
- WP options plugin setting not saving the selected checkboxes
- How do I add a textarea (multirow) option to my WordPress plugin?
- errno: 150 “Foreign key constraint is incorrectly formed” [closed]
- Registered sidebar area is not shown from plugin.
- why my wordpress dont have toolbar like, plugin, themes and other?
- HyperDB failover Delay
- WordPress custom posttype meta values doesnot save
- get Options value in “external” page
- How to submit the custom form data in database in WordPress without plugin?
- Is it safe to increase/alter the size of the wp_post.guid column from VARCHAR(255) to VARCHAR(2048)?
- Website keeps going down, is it a plugin, database, memory problem, or something else?
- Display Custom Post Type and Custom Taxonomy Data on Front End Using Only a Plugin
- On the same site, how do I send data from a plugin file to a theme file?
- Neither update_option nor delete_option fires in deactivation hook
- Form with response button after on table after submission
- move setting data from wordpress api to codestar freamwork
- Hidden Elementor sections slow down website. How to fix this? [closed]
- Can’t save formdata in DB