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()
- 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
- Is having multiple theme customizers for different pages possible?
- Remove Customize Background and Header from Appearance admin menu without CSS or JS
- Editor role cannot save custom theme options
- Dynamically change feature image in customiser
- Site Title and Tagline in Pagelines DMS Options Panel
- Enqueue Javascript Correctly for 3.5
- Design view breaking on Pages
- Customizer Show/Hide Logo and Site Title
- Theme Customizer – Dynamic CSS PHP File
- How to get custom image size for image uploaded in Customizer
- Select dropdown not showing selected value php
- Crop image from get_theme_mod Customizer field
- Get/Set wp.customize.previewer.previewUrl
- is it possible to force wordpress to always save thumbnails as ‘jpg’ not ‘png’
- Settings API – sanitize_callback is not called and it leads to an incorrect behavior
- 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
- Getting array of customizer settings
- Change the CSS of the Customizer API
- From where the header-text can be changed in WordPress custom header?
- 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
- 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
- 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
- Decimal values via get_option() with custom local (decimal point = comma)
- 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
- 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
- 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?
- require get_template_directory() . ‘path/to-my/file.php’ BREAKS customize > themes functionality
- How to make a pagination with dropdown selection?
- No more get_option(‘date_time’) in WordPress 5.5?
- How can I edit a php custom page template to work in other themes?
- How to add locations input to user profile?
- Change CSS Variable value in Theme Customizer Live Preview
- Customizer textarea with script tag won’t work in live preview
- Allow user to choose header style
- Remove specific javascript when viewing page in Customizer?
- Customizer: How to Sanitize a Decimal Number Range
- Echo Option Value Based On WordPress User Role
- Make customizer panel or section button
- make an array in wordpress cusmization api?
- Use Custiomizer to setup meta theme color tag
- Default Image not showing up in Customizer for WP_Customize_Cropped_Image_Control
- customizer live preview layout picker
- Access preview settings in php
- Use get_option with $emailTo on contact page
- Create Customization Controls from Array
- Replace content in WordPress Page after GET from php page
- WordPress Setting page can not be saved by html radio
- How to add button to top of theme customizer?
- How can I clear the theme mod settings?
- Cant get theme to change footer color through theme customizer
- Save Option on Database
- wp_head makes my custom page template not work in Customizer?
- Echo piece of code from file
- Options.php loop won’t show!
- How to store the_post_thumbnail() value in a variable
- Echo get_option displays as text
- save array of objects with update_option
- Sidebars panel in customizer