packages/kirki-framework/control-multicolor/src/Field/Multicolor.php
public static function sanitize( $value ) {
		if ( ! is_array( $value ) ) {
			return [];
		}
		foreach ( $value as $key => $val ) {
			$value[ $key ] = Color::sanitize( $val );
		}
		return $value;
	}
public static function sanitize( $value ) {
		if ( ! is_array( $value ) ) {
			return [];
		}
		foreach ( $value as $key => $val ) {
			$value[ $key ] = Color::sanitize( $val );
		}
		return $value;
	}
public static function sanitize ( $ value ) { if ( ! is_array ( $ value ) ) { return [ ] ; } foreach ( $ value as $ key => $ val ) { $ value [ $ key ] = Color :: sanitize ( $ val ) ; } return $ value ; }
The method that will be used as a `sanitize_callback`.

@static
@access public
@since 1.0
@param array $value The value to be sanitized.
@return array The value.
The method that will be used as a sanitize_callback .