Generally speaking, it’s better to use the WordPress options table unless you have an enormous amount of data.
If you also use the WordPress Options API you can easily store your options grouped into 1 or several serialized arrays. WordPress handles the serialization of the data and by default options are set to autoload and cached so you save on any additional queries.
You also have the benefit of using built in functions like get_option(), update_option(), etc…
Related Posts:
- WordPress and magic quotes
- Reposition WooCommerce breadcrumb outside of wrapper content
- WordPress URL Rewrite not working
- Displaying a WooCommerce product via PHP
- WP E-commerce: Showing 3 random products from current category when viewing product
- Woocommerce -How to set product regular price default
- How To Customize Position of »add to cart« of WooCommerce on Product Page [closed]
- WordPress widget in custom theme
- Bulk Image upload and one image for each post?
- Woocommerce price including tax with formatting from options
- woocommerce and is_user_logged_in() if not redirect to homepage
- Woocommerce Custom CSV export
- WooCommerce – Fixed quantity of a product [closed]
- WP_cron won’t trigger my action
- How to create a custom category of wordpress admin
- Adding a div at the bottom of a sidebar
- How to run JS, PHP and etc. inside WP post?
- Working with wordpress plugin and theme templates structures
- WordPress: Access a plugin from within a theme
- WordPress plugin/code to hide all things related of a user from the public
- Large Woocommerce Site (83,000 items), What Can I Do? [closed]
- showing 2 prices wholesale and normal
- How can I hide that I Use WordPress (with W3 Total Cache)
- Woocommerce Show Single Product on Homepage
- WooCommerce Tabs [closed]
- WordPress add_rewrite_rules for custom URLs ending in .html
- How to solve Woocommerce Memory Limit
- Why doesn’t PhotoSmash plugin play well with wp_query?
- Woocommerce getting top level category parent and make all sub categories have the same template and menu
- feedburner plugin for WP 3.5
- Display additional page templates and a sidebar on plugin activation
- How do I attach an invoice PDF to an email in the Dukapress plugin for WordPress?
- Make separate text boxes for separate WordPress Custom Fields
- Creating a WordPress addon for ContactForm7 submission (.XML file export)
- divide custom field values in div every two values
- WordPress plugin creating sidebar on the theme/page
- WordPress and magic quotes
- How to get WordPress Adminmenu items?
- How To Customize Position of »add to cart« of WooCommerce on Product Page [closed]
- Simple tree display of WordPress menu
- WordPress Pages into Sections edit.php PHP hack
- WordPress Plugin Receive a Link
- WordPress: Create A Widget to Accompany Plugin
- How can I list only Subcategories in Woocommerce
- PHP Syntax getting PHP terms
- Get Products within Current Product Category
- what is %variable% in a wordpress plugin? [closed]
- Why is variable not working on custom sql query using wpdb?
- Register JS for block on frontend only
- Trying to implement Ajax comments in WordPress, getting WP error
- WooCommerce get_price returning wrong price when used via ajax
- SQL QUERY – Select a value directly from the database
- Variable global scope [closed]
- How to test nonce with AJAX – Plugin development
- If post ID has_term?
- What does $wpdb->get_row return?
- Trouble With Conditional Logic in PHP
- woocommerce registration form with klaviyo(don’t work with current user)
- How to ‘clone’ a wp plugin to make small changes
- How to do multiple searches (with logical OR) in WP_Query in hook pre_get_posts?
- How to get a list of all possible values of a specific user meta key?
- how can i show only the parents in owl-carousel?
- Change the URL of an image from wp_get_attachment_image_src except in the frontpage
- Get different images for mobile and desktop with php, advanced custom fields without using js and ajax
- How to update wp-config file in Docker
- Randomise upload filenames (or another solution to hide the original image URL from theft?)
- Use object in template part
- Create shortcodes within foreach loop (using array)
- Open Post Thumbnail in New Child Theme File in WordPress
- Can’t extend some core classes
- How do I display a user’s previous orders as a select box option on a product?
- Simple Plugin with custom javascript wont work – no console error
- How Display Posts on category
- add mediaelement.js plugins into WordPress video player control bar
- Using file_get_contents with Gravity Forms uploads folder to create images in the media library returning false
- Change Navigation Bar based on logged in or not
- Hide wordpress field if data is empty in post!
- Programmatically add and remove woocommerce product category
- How does this WordPress Plugin (Thrive Comments) apply their custom comment sort? [closed]
- Can’t search posts using WP_QUERY inside AJAX Function
- Shortcode button dosent work for all posts. Work for first post only
- allow subscribers to see private posts without plug in
- Show MySQL errors that occur when I excute $wpdb->insert()
- How to implement Google Tag Manager? [closed]
- Replace word in “the_content” only for index.php
- How can I use a modal window to display the current post in loops featured image?
- How to query for pages/post depending on slug?
- How do you add customer capability after Woocommerce purchase?
- Setting up 2 SMTP accounts: 1 for wordpress and 1 for woocommerce
- How to get specific image in media library with php
- Where should I save an API key of my user when installing my plugin?
- Prevent a plugin from being automatically activated
- Change sign up fee in cart for subscription products WooCommerce
- Woocommerce add to cart quantity buttons with AJAX
- Function set default image when image not present
- How to rewrite URL with PHP variables with htaccess to a normal looking URL?
- How to get the POST TITLE using the POST ID?
- PHP Warning: Invalid argument supplied for foreach() in /home/padtvro/public_html/wp-content/themes/claudia/content.php on line 30
- Importing hard coded custom field into acf field
- Customize Time Stamp