public_html/wp-content/themes/LocalTwo/core/customizer/includes/class-kirki-settings.php
/**
	 * Sanitize a value from a list of allowed values.
	 *
	 * @since 0.5
	 *
	 * @param  mixed    $value      The value to sanitize.
	 * @param  mixed    $setting    The setting for which the sanitizing is occurring.
	 * @return mixed                The sanitized value.
	 */
Sanitize a value from a list of allowed values.

@param  mixed    $value      The value to sanitize.
@param  mixed    $setting    The setting for which the sanitizing is occurring.
@return mixed                The sanitized value.
Sanitize a value from a list of allowed values . @param mixed $value The value to sanitize . @param mixed $setting The setting for which the sanitizing is occurring . @return mixed The sanitized value .
function sanitize_choice( $value, $choices, $default ) {
		$allowed_choices = array_keys( $choices );
		return ( ! in_array( $value, $allowed_choices ) ) ? $default : $value;
	}
function sanitize_choice ( $ value , $ choices , $ default ) { $ allowed_choices = array_keys ( $ choices ) ; return ( ! in_array ( $ value , $ allowed_choices ) ) ? $ default : $ value ; }
Sanitize a value from a list of allowed values.
Sanitize a value from a list of allowed values .