if ('local' == $target) {
    $button_classes[] = 'local-scroll-link';
}
if ($css_animation) {
    $button_classes[] = $this->getCSSAnimation($css_animation);
}
if ($classes) {
    $button_classes[] = $this->getExtraClass($classes);
}
if ($visibility) {
    $button_classes[] = $visibility;
}
// Lightbox classes, image and data attributes
if ('true' == $lightbox) {
    // Enqueue lightbox style
    vcex_enque_style('ilightbox');
    // Parse lightbox dimensions
    $lightbox_dimensions = vcex_parse_lightbox_dims($lightbox_dimensions);
    // Set data attributes based on lightbox type
    if ('iframe' == $lightbox_type) {
        $button_classes[] = 'wpex-lightbox';
        $data_attr[] = 'data-type="iframe"';
        $data_attr[] = 'data-options="' . $lightbox_dimensions . '"';
    } elseif ('image' == $lightbox_type) {
        $button_classes[] = 'wpex-lightbox';
        $data_attr[] = 'data-type="image"';
        if ($lightbox_image) {
            $url = wp_get_attachment_url($lightbox_image);
        }
        $inline_js[] = 'ilightbox';
    } elseif ('video_embed' == $lightbox_type) {
$wrapper_classes = array('vcex-pricing');
if ('yes' == $featured) {
    $wrapper_classes[] = 'featured';
}
if ($css_animation) {
    $wrapper_classes[] = $this->getCSSAnimation($css_animation);
}
if ($el_class) {
    $wrapper_classes[] = $this->getExtraClass($el_class);
}
if ($visibility) {
    $wrapper_classes[] = $visibility;
}
if ($hover_animation) {
    $wrapper_classes[] = wpex_hover_animation_class($hover_animation);
    vcex_enque_style('hover-animations');
}
$wrapper_classes = implode(' ', $wrapper_classes);
// Plan style
if ($plan) {
    $plan_style = vcex_inline_style(array('margin' => $plan_margin, 'padding' => $plan_padding, 'background' => $plan_background, 'color' => $plan_color, 'font_size' => $plan_size, 'font_weight' => $plan_weight, 'letter_spacing' => $plan_letter_spacing, 'border' => $plan_border, 'text_transform' => $plan_text_transform));
}
// Cost Wrap style
if ($cost) {
    $cost_wrap_style = vcex_inline_style(array('background' => $cost_background, 'padding' => $cost_padding, 'border' => $cost_border));
    $cost_style = vcex_inline_style(array('color' => $cost_color, 'font_size' => $cost_size, 'font_weight' => $cost_weight));
}
// Per style
if ($per) {
    $per_style = vcex_inline_style(array('display' => $per_display, 'font_size' => $per_size, 'color' => $per_color, 'font_weight' => $per_weight, 'text_transform' => $per_transform));
}
 if ('yes' == $rounded_image) {
     $img_classes[] = ' wpex-rounded-images';
 }
 if ($overlay_style) {
     $img_classes[] = wpex_overlay_classes($overlay_style);
 }
 if ($img_filter) {
     $img_classes[] = wpex_image_filter_class($img_filter);
 }
 if ($img_hover_style) {
     $img_classes[] = wpex_image_hover_classes($img_hover_style);
 }
 $img_classes = implode(' ', $img_classes);
 // Lightbox links
 if ('lightbox' == $thumbnail_link) {
     vcex_enque_style('ilightbox', $lightbox_skin);
     $atts['lightbox_data'] = array();
     $atts['lightbox_data'][] = 'data-type="image"';
     if ($lightbox_skin) {
         $atts['lightbox_data'][] = 'data-skin="' . $lightbox_skin . '"';
     }
 }
 // Output js for front-end editor
 $inline_js = array('carousel');
 if ('lightbox' == $thumbnail_link) {
     $inline_js[] = 'ilightbox';
 }
 vcex_inline_js($inline_js);
 // Prevent auto play in visual composer
 if (wpex_is_front_end_composer()) {
     $auto_play = 'false';