HEX
Server: Apache
System: Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User: u106391720 (10342218)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /homepages/34/d890102484/htdocs/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 );

  }

}