packages/kirki-framework/field/src/Field.php
public function filter_setting_args( $args, $wp_customize ) {
		$args['type'] = 'theme_mod';
		if ( isset( $args['option_type'] ) ) {
			$args['type'] = $args['option_type'];
			if ( isset( $args['option_name'] ) && ! empty( $args['option_name'] ) ) {
				if ( isset( $args['settings'] ) && false === strpos( $args['settings'], $args['option_name'] . '[' ) ) {
					$args['settings'] = $args['option_name'] . '[' . $args['settings'] . ']';
				}
			}
		}
		return $args;
	}
public function filter_setting_args( $args, $wp_customize ) {
		$args['type'] = 'theme_mod';
		if ( isset( $args['option_type'] ) ) {
			$args['type'] = $args['option_type'];
			if ( isset( $args['option_name'] ) && ! empty( $args['option_name'] ) ) {
				if ( isset( $args['settings'] ) && false === strpos( $args['settings'], $args['option_name'] . '[' ) ) {
					$args['settings'] = $args['option_name'] . '[' . $args['settings'] . ']';
				}
			}
		}
		return $args;
	}
public function filter_setting_args ( $ args , $ wp_customize ) { $ args [ 'type' ] = 'theme_mod' ; if ( isset ( $ args [ 'option_type' ] ) ) { $ args [ 'type' ] = $ args [ 'option_type' ] ; if ( isset ( $ args [ 'option_name' ] ) && ! empty ( $ args [ 'option_name' ] ) ) { if ( isset ( $ args [ 'settings' ] ) && false === strpos ( $ args [ 'settings' ] , $ args [ 'option_name' ] . '[' ) ) { $ args [ 'settings' ] = $ args [ 'option_name' ] . '[' . $ args [ 'settings' ] . ']' ; } } } return $ args ; }
Filter setting args.

@access public
@since 0.1
@param array                $args         The field arguments.
@param WP_Customize_Manager $wp_customize The customizer instance.
@return array
Filter setting args .