When ‘publish’ is clicked in customizer, the option ‘theme_mods_THEMENAMED’ is updated. An function/action could be added See https://developer.wordpress.org/reference/functions/add_action/ on the wordpress actions
add_option_(option_name) and
update_option_(option_name)
See https://codex.wordpress.org/Plugin_API/Action_Reference#Administrative_Actions. The new function could then save what ever option you want to update.
Related Posts:
- WordPress customizer: load controls in a custom div
- Passing array in add_option()
- WordPress Customizer add_control Dropdown of Pages with Multi Select?
- How to get WordPress Time Zone setting?
- Limit the number of inactive widgets
- Need help setting default setting value for radio button in theme customizer
- Custom plugin: Trying to show saved data on frontend
- Is having multiple theme customizers for different pages possible?
- Remove Customize Background and Header from Appearance admin menu without CSS or JS
- Remove/unset options field from backend Settings->General?
- Site Title and Tagline in Theme Options Page
- Is it possible to get a theme customizer setting from wp.customize using jquery?
- Editor role cannot save custom theme options
- Dynamically change feature image in customiser
- One button to change all settings in theme customizer?
- Site Title and Tagline in Pagelines DMS Options Panel
- Enqueue Javascript Correctly for 3.5
- Check if Favicon is set in Customizer
- WordPress Customizer: How can you have multiple active callbacks on one control?
- Design view breaking on Pages
- Dynamically loaded Theme components based on Customizer Settings values : changes not appearing in Customizer preview – (Workaround found)
- Customizer Show/Hide Logo and Site Title
- WordPress Customizer not setting default value upon initial install?
- How to add default images into theme customizer image control?
- Theme Customizer – Dynamic CSS PHP File
- Show different Customizer Settings on Page-Tamplates
- How to get custom image size for image uploaded in Customizer
- Implement a multi-value input field where the number of entries is not limited
- Select dropdown not showing selected value php
- How do I output a database option that is an array into a get_posts array?
- Delete option value from array using update_option()
- Crop image from get_theme_mod Customizer field
- Get/Set wp.customize.previewer.previewUrl
- How can I use a $wp_customize to edit my homepage image slider?
- How to get bool with `get_option()` when already registered setting with type `boolean`
- is it possible to force wordpress to always save thumbnails as ‘jpg’ not ‘png’
- Customizer Show/Hide
- Settings API – sanitize_callback is not called and it leads to an incorrect behavior
- Difference between ‘type’ => ‘text’ and WP_Customize_Control
- Store and Work with huge array in WP [closed]
- SQL QUERY – Select a value directly from the database
- How do I get current page ID in WordPress customizer file?
- Count top level menu items
- Adding Default Settings to Theme My Login plugin
- How to add values to media “whitelist_options” in wp-admin/options.php template?
- Getting array of customizer settings
- Change the CSS of the Customizer API
- Customizer – Prefix Class Extension
- From where the header-text can be changed in WordPress custom header?
- How to output widget
- Ajax – Call to undefined function get_option()
- Multiple options not staying selected after saving
- Create a range slider to change font-size with different screens sizes in wordpress customizer api
- Whitelisting items from custom options page
- Customizer: active_callback and sanitize_callback incompatibility?
- Return a numerical function value in Customizer controls
- Customizer: Multiple CSS styles on same element in Live Preview
- Options API get_option() and update_option() Not Correctly Updating or Returning
- Customizer: Category Select Sanitize
- Setting default category base on theme activation
- Problem custom control Customizer
- Skt full width basic slideshow problem
- Error: options page not found
- How to store options in an array
- how to update and display an option without reloading the page
- Saving plugin settings – ERROR: options page not found
- Security for data obtained from the database
- Pull GetOption() variable into jQuery dynamically created html
- Filtering a Database Query
- How to check if a Customizer setting is set?
- WordPress Customizer Default Image
- Is a series of update_option calls safe, performance wise?
- wp-options keep crashing please help
- WP_OPTIONS table, active_plugins entry [closed]
- Warning: Illegal string offset on theme options page [closed]
- Why is an array created in a function hooked to customize register populated when customizer is loaded but not when the front-end is loaded?
- Link blogname and blogdescription to the Options Framework
- retain querystring values when savincustom options in admin
- How to Change CSS Colors from Custom Plugin Settings Page
- Extending WP_Customize_Media_Control to return filename
- Decimal values via get_option() with custom local (decimal point = comma)
- Please show me how to use an if/else statement in combination with wp_enqueue
- How to show every second user different types of banners?
- Customizer: How to change Header Image description
- get_theme_mod outputs number when using WP_Customize_Cropped_Image_Control
- WordPress language switcher doesn’t work
- Use SCSSPHP to compile Theme Customizer Values into .SCSS files ready to compile to CSS
- Need advice on theme customizer and child themes
- Get value from db for custom contact form
- Display random image url from list of input values
- Page Options Saving But Not Updating In Backend
- Add a custom WooCommerce settings tab with sections
- Getting text from custom field from customizer
- OOP PHP class extends TwentyTwenty_Customize in Child Theme
- Grabing default from cuztomizer php file instead of other php script
- Illegal string offset in PHP function in via Theme Customizer
- Why would the child theme load in the Customize preview, but not on the site itself?
- Set all WooCommerce Products to Simple, Virtual & Downloadable
- require get_template_directory() . ‘path/to-my/file.php’ BREAKS customize > themes functionality
- How to make a pagination with dropdown selection?