File: //proc/thread-self/cwd/wp-content/plugins/codestar-framework/functions/customize.php
<?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 $unique = '';
public $type = 'cs_field';
public $options = array();
public function render_content() {
$this->options['id'] = $this->id;
$this->options['default'] = $this->setting->default;
$this->options['attributes']['data-customize-setting-link'] = $this->settings['default']->id;
echo cs_add_element( $this->options, $this->value(), $this->unique );
}
}