As i can see, your inputs are all the same (textbox) and most likely return the same type of data ( some human-readable text ), so i don’t think you need different functions.
One will do it all, unless you have checkbox, radio buttons, HTML input, etc which might need different types of sanitation (such as allowing some special HTML tags).
Related Posts:
- How do I use add_control to offer a list of all pages in the customiser?
- What is the difference between sanitize_text_field() and wp_filter_nohtml_kses()?
- Insert content between sections in WP customizer
- How to use sanitize_callback?
- Theme Customizier sanitize_callback not working
- Trouble creating custom sanitization function for user list dropdown
- Defining path of content folder in WP-config solves the issue of missing header, footer, theme options. Is this a good approach? Expert Advice needed
- how to sanitize customizer checkbox control
- In 2016 Theme where is the Posts page thumbnail image stored?
- I need to get the control choices to sanitize_callback
- Why Settings API Options Override Customizer Settings?
- Manipulating customizer panels and fields?
- Issues Saving Long String Option
- Customizer sanitize_callback for input type number
- Custom logo manage by customizer and theme options
- get_option() vs get_theme_mod(): Why is one slower?
- Where is Customizer related data stored is the database?
- How do I implement selective refresh with a customizer setting?
- How to create a theme customizer ‘sub’ panel?
- Adding a description to theme customizer controls
- Use default value of wp_customizer in theme_mod output?
- Repeater field in Customizer
- Adjust the Device Preview sizes used in the WP 4.5 Customizer
- Is it possible ( or advisable) to allow open access to the new theme customizer for potential clients?
- Add a dropdown to theme customizer
- WP Customizer – Prevent live preview
- How to upload multiple images with WP_Customize_Media_Control
- Different customizer previewUrls per section
- How to escape custom css?
- Is there any way to add placeholder for WordPress Customizer text input fields
- How WP_Customize_Background_Image_Control is supposed to work?
- Custom editable content for front page from Theme Customizer
- Can I create customizer setting that can handle plugin shortcode?
- How to print the value of a custom control in the Customizer?
- Add/remove controls dynamically based on other settings in Customizer
- Customizer JS API dynamically add sections and controls
- Get all registered wp theme customizer sections?
- Add custom background to div in home page
- Theme customizer – possible to disable Live Preview?
- get_theme_mod doesn’t return the theme customizer preview’s new values in after_setup_theme hook
- How do I handle the “WP_Customize_Cropped_Image_Control” callback?
- How to mix partial and full page refresh in the same section of the customizer?
- Conditional Logic to Check for Site Icon
- Theme Customization API options on install
- How do I check if user input in a field in the customizer is a number?
- How to access the nav_menus panel with the customizer api?
- Add a “loading” notice when Customizer is making changes
- Make Theme Options Native to Theme Customizer
- How do I conditionally enqueue stylesheets or scripts in theme customizer settings?
- WordPress Customizer Typography: How to load just the unique Google Fonts?
- Theme option : having the ability to select among several predefined headers
- Internalize get_theme_mod CSS Into Stylesheet?
- Customiser `active_callback` not working on control with `postMessage` transport method
- Is it possible to conditionally displaying and hiding of customizer controls for each device preview?
- How to get control choices from $setting object passed to sanitize_callback
- Can I change a control’s transport in Customizer depending on the previewed page?
- Passing data from customize-controls.js to the customize-preview.js
- Add or remove HTML class with selective refresh?
- Get attachment id from WP Customizer
- How to output WP_Customize_Cropped_Image_Control setting?
- Why does get_theme_mod return blank (or default value) but get_option returns saved value?
- How to hook on customizer section expanded/active/opened event?
- How to get input_attrs in the sanitize function?
- Get current post ID of customizer preview window
- Deactivate sections/panels when the Customizer finishes loading
- How to remove menus section from WordPress theme customizer
- Add button to Customizer
- Visible Edit Shortcut for WordPress menu that uses nav walker
- How to add theme customizer control to specific page?
- Customizer active callback live toggle controls
- Why is remove_setting and remove_control not working?
- Section Name for Menu in Theme Customizer
- Is it still possible to nest panels within panels within the customizer?
- Get_theme_mod not retrieving value
- Need to run a plugin on Customize.php
- Customizer preview doesn’t update get_option() value properly
- Customizer Issue, Default Settings not working
- How to move Menus customizer section directly under Site Identity?
- WP customizer + gulp + browsersync = refused to display in iframe?
- Set Default Page On Customizer Live Preview
- Rename and rearrange customizer section
- Make Customizer Load Specific Page
- Theme Customizer Custom Background / Header Image
- get_theme_mod not working
- Customizer not saving image settings
- How to hide few theme customization options – TwentySeventeen theme
- Panel description in Customizer does not show up
- Removing http:// from esc url() for wordpress customizer code
- Theme Customizer – My panel disappears
- Send data from Customizer Settings to Customizer Preview with settingless control
- Author functions don’t work in customizer’s selective refresh
- How to remove mixed content warnings in WP Customizer
- How to extend Customizer payload sent when ‘Save & Publish’ is triggered
- Does the customizer support multiple templates?
- Using Theme Customizer Built-In Sections
- How to use rgba color from theme customizer color picker
- Theme Customizer changes are dissappearing when change page
- How can a default site icon be set in customizer?
- How to hook CSS file according to theme selection in the customizer section
- New customizer setting not showing value