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 ); } ?>
  • " . esc_html( $this->label ) . ''; ?>

    1 ) { ?>
      $device_details ) { if ( $i == 1 ) { $active = ' active'; } else { $active = ''; } ?>
    description ) { ?> description ); ?>
    $device_details ) { if ( $i == 1 ) { $active = ' active'; } else { $active = ''; } echo '
      '; $value = isset( $values[ $device_id ] ) ? $values[ $device_id ] : ''; echo '
    • '; foreach ( $this->choices as $val => $label ) { ?> value=""> '; echo '
    '; $i ++; } ?>