"36",
"textarea_height" => "200",
"textarea_width" => "250",
"select_width" => "200",
"upload_size" => "36",
"upload_filetype" => "image",
);
public function __construct($manager, $id, $args = array())
{
parent::__construct($manager, $id, $args);
$this->section = $args['element']['section'];
$this->label = isset($args['element']['title']) ? $args['element']['title'] : "";
$this->description = isset($args['element']['description']) ? $args['element']['description'] : '';
$this->type = $args['element']['type'];
$this->element['custom_attrs'] = array();
}
protected function refresh_link($setting_key = 'default')
{
if (isset($this->settings[$setting_key])) {
/*if($this->type == 'select' || $this->type == 'select_open'){
$this->element['custom_attrs']['data-customize-setting-link'] = esc_attr( $this->settings[ $setting_key ]->id )."[]";
}
else{*/
$this->element['custom_attrs']['data-customize-setting-link'] = esc_attr($this->settings[$setting_key]->id);
/*}*/
}
}
}
class WDWT_control_Color extends WDWT_control
{
public function render_content()
{
$this->refresh_link();
?>
refresh_link();
?>
refresh_link();
?>
refresh_link();
?>
refresh_link();
?>
refresh_link();
?>
refresh_link();
?>
refresh_link();
?>
refresh_link();
?>
refresh_link();
?>
refresh_link();
?>
refresh_link();
$this->element['width'] = $this->params['textarea_width'];
$this->element['height'] = $this->params['textarea_height'];
?>
refresh_link();
?>
refresh_link();
?>
refresh_link();
?>