<?php if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access pages directly.
/**
 *
 * WP Customize custom controls
 *
 * @since 1.0.0
 * @version 1.0.0
 *
 */
class WP_Customize_cs_field_Control extends WP_Customize_Control {

  public $type    = 'cs_field';
  public $options = array();

  public function render_content() {
    $this->options['attributes']['data-customize-setting-link'] = $this->settings['default']->id;
    echo cs_add_element( $this->options, $this->value(), 'customize' );
  }

}