attr = $attr;
$this->label = $args['label'];
parent::__construct( $manager, $id, $args );
}
/**
* Renders the control wrapper and calls $this->render_content() for the internals.
*
* @see WP_Customize_Control::render()
*/
protected function render() {
$id = 'customize-control-' . str_replace( array( '[', ']' ), array( '-', '' ), $this->id );
$class = 'customize-control has-switchers customize-control-' . $this->type;
?>
render_content(); ?>
value() ) && ! empty( $this->value() ) ) {
$values = json_encode( $this->value() );
} else {
$values = $this->value();
}
?>
link(); ?> class="business-roy-responsive-buttonset-collection-value" value=""/>
array(
'icon' => 'dashicons-desktop',
),
'tablet' => array(
'icon' => 'dashicons-tablet',
),
'mobile' => array(
'icon' => 'dashicons-smartphone ',
),
);
$attr = $this->attr;
if ( is_array( $this->value() ) && ! empty( $this->value() ) ) {
$values = $this->value();
} else {
$values = json_decode( $this->value(), true );
}
?>