Honestly for the select field it’s not so important what the choices are for sanitizing the field and in fact what you are doing I don’t believe is a good idea if a user wants to filter your settings to add new options to the select field. More importantly you are looking to sanitize the output which is a string value. So using wp_strip_all_tags or even esc_html for the sanitize callback I believe would be best. Your input will still be sanitized for malicious code but also allow for easier tweaking via a child theme.
But in terms of what your reviewer is telling you is most likely you are using the personal_lite_select_callback function for multiple select options in the customizer some which have different values so they want you to make a new function for each.
Related Posts:
- Custom editable content for front page from Theme Customizer
- Trouble creating custom sanitization function for user list dropdown
- Default Customizer Code
- How do I implement selective refresh with a customizer setting?
- Use default value of wp_customizer in theme_mod output?
- How to upload multiple images with WP_Customize_Media_Control
- Is there any way to add placeholder for WordPress Customizer text input fields
- Add/remove controls dynamically based on other settings in Customizer
- How to mix partial and full page refresh in the same section of the customizer?
- How do I conditionally enqueue stylesheets or scripts in theme customizer settings?
- Internalize get_theme_mod CSS Into Stylesheet?
- View category in the preview of Theme Customizer
- How to Save Different Settings Options Using Settings API and/or the Theme Optimizer
- Customiser `active_callback` not working on control with `postMessage` transport method
- How do I properly format the user_role array?
- How to hook on customizer section expanded/active/opened event?
- How do I use add_control to offer a list of all pages in the customiser?
- Visible Edit Shortcut for WordPress menu that uses nav walker
- Get_theme_mod not retrieving value
- Make Customizer Load Specific Page
- How to extend Customizer payload sent when ‘Save & Publish’ is triggered
- Change “Display Site Title and Tagline” checkbox text in theme customizer
- Customizer, change preview url when a control changes
- Customizer field value into functions.php variable
- Customizer Add Section argument ‘active_callback’ => “is_front_page” not working
- Convert an theme options page to use in customize.php also?
- Is there any function that would allow me to register custom stylesheets for the Customizer itself?
- Customizer: widget-synced triggers twice
- Customizer live preview not working, refreshes but nothing change
- making customizer sections sortable but items not getting sorted first time items are moved
- How to set a default color for the WordPress Customizer’s color picker?
- Hide devices selection from customizer?
- How do I add a customizer control dynamically?
- Need help for suitable sanitize_callback for scroll_logo in customizer
- Background Color not being set in WP Customizer
- How to disable cropping of the site icon?
- How do I update the wpColorPicker palette after initialization?
- Disabling Customizer Selective Refresh shortcut icons for selected controls
- Selective refresh and registering widget areas
- Your theme has 1 widget areas, but this particular page doesn’t display them in wordpress
- For a specific theme, how do I build a list of all the possible theme modification names?
- Creating Dependant Text field in Customizer with Checkbox
- Save & Publish disabled for two dimensional array Customizer
- Allow guests to use WP Customizer but disable save button
- Binding Serialized Setting to JS for Realtime Response
- Unset color set in Theme Customizer
- get_theme_mod filter ignores sanitize_callback
- DIVI Theme customizer changes not applied on existing pages [closed]
- Setting dirty on customizer
- How to transfer one domain to another domain without losing theme options (customizer)?
- Customiser sections not being displayed with `active_callback`
- Output foreach loop used in WordPress wp_customize
- Where do I go to edit this area? [closed]
- Changing Customizer Select To Checbox, But Retaining Classes
- Customizer related question
- Multiple selection for wordpress widget
- Add Links to Customizer
- Custom Customizer setting only saving value of 0
- How to call custom jQuery plugins into the customizer controls
- Display posts by combining multiple meta key
- How to use a WP_Customize_Control outside of the Customizer?
- Custom select query two tables by a meta key
- where to change text for header?
- Theme Customizer for only author.php (per user baisi)
- Customizer API – Class doesn’t exist error
- Get register wp_customize settings in the front end
- Theme Customizer performance drops when adding a lot of settings
- How to Add Extra Settings to Appearance/Customizer Sections homepage
- Sanitize callback function for select controll in customizer
- Creating a WordPress Customizer control/field with react
- What is the method to switch to specific page on entering theme customizer screen?
- How to Display Error in my WordPress customizer API?
- Easily add custom HTML outside the main container?
- Unable to Auto Post In Buddy Press Activity from Elementor-Pro Form
- Linking to a Customizer control
- CF7 select value get to function and reciept value from function
- How to add a link to an external website in the description of a customizer control (with Kirki)?
- Using different header images for different devices
- Can you make sub-panels in customizer?
- What is difference between add_theme_support and Theme Customization API?
- “Display Site Title and Tagline” checkbox without adding Header Image option
- WordPress Theme Customization error
- Text View (Code View) in WordPress Customizer TinyMCE Editor
- WordPress Customizer: Check for value of CSS selector and replace it
- Menu selection for header
- How can I stop widgets from re-executing every time I access the logged-in homepage?
- Theme customizer API get functions
- how to make additional color options added to default color Customizer save their value
- Template tags not working in the customizer preview
- HTML inside Customizer
- WordPress Customizer Help with FontAwesome Icon
- Disabling and enabling content using Customizer
- disable lightbox in a plugin [closed]
- Apply `the_content’ filter to theme customisation live preview
- How to add button to top of theme customizer?
- I am looking for a font used in WordPress [closed]
- Do i need to use PHP in customizer api?
- What is the section ID (name) for “Menus” in the Customizer?
- Issue displaying customiser setting with get_theme_mod
- Customizer cuistom CSS Priority ordre Issue