$config['slug'] . '_1', 'position' => 40, 'xlwcty_accordion_title' => $config['title'], 'xlwcty_accordion_head_end' => 'yes', 'xlwcty_icon' => 'xlwcty-fa xlwcty-fa-video-camera', 'xlwcty_accordion_head_end' => 'yes', 'fields' => apply_filters( 'xlwcty_text', array( array( 'name' => __( 'Enable', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_enable_1', 'type' => 'xlwcty_switch', 'row_classes' => array( 'xlwcty_is_enable' ), 'label' => array( 'on' => __( 'Yes', 'woo-thank-you-page-nextmove-lite' ), 'off' => __( 'No', 'woo-thank-you-page-nextmove-lite' ), ), 'before_row' => array( 'XLWCTY_Admin_CMB2_Support', 'cmb_before_row_cb' ), 'xlwcty_accordion_title' => $config['title'] . ' 1', 'xlwcty_accordion_index' => '1', 'xlwcty_component' => $config['slug'], 'xlwcty_is_accordion_opened' => false, 'after' => include_once __DIR__ . '/help.php', ), array( 'name' => __( 'Heading', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_heading_1', 'type' => 'text', 'row_classes' => array( 'xlwcty_no_border' ), 'desc' => 'Dynamic merge tags list', 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable_1', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Heading font size', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_heading_font_size_1', 'type' => 'text_small', 'row_classes' => array( 'xlwcty_hide_label', 'xlwcty_pt0', 'xlwcty_combine_2_field_start' ), 'before' => '

Font Size (px)

', 'attributes' => array( 'type' => 'number', 'min' => '0', 'pattern' => '\d*', 'data-conditional-id' => $config['slug'] . '_enable_1', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Heading alignment', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_heading_alignment_1', 'type' => 'select', 'row_classes' => array( 'xlwcty_hide_label', 'xlwcty_pt0', 'xlwcty_combine_2_field_end' ), 'before' => '

Alignment

', 'options' => array( 'left' => __( 'Left', 'woo-thank-you-page-nextmove-lite' ), 'center' => __( 'Center', 'woo-thank-you-page-nextmove-lite' ), 'right' => __( 'Right', 'woo-thank-you-page-nextmove-lite' ), ), 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable_1', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Description', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_desc_1', 'type' => 'textarea_small', 'row_classes' => array( 'xlwcty_no_border' ), 'desc' => 'Dynamic merge tags list', 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable_1', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Description alignment', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_desc_alignment_1', 'type' => 'select', 'row_classes' => array( 'xlwcty_hide_label', 'xlwcty_pt0', 'xlwcty_select_small' ), 'before' => '

Alignment

', 'options' => array( 'left' => __( 'Left', 'woo-thank-you-page-nextmove-lite' ), 'center' => __( 'Center', 'woo-thank-you-page-nextmove-lite' ), 'right' => __( 'Right', 'woo-thank-you-page-nextmove-lite' ), ), 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable_1', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Video Source', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_src_1', 'type' => 'radio_inline', 'options' => array( 'video_url' => __( 'Video URL', 'woo-thank-you-page-nextmove-lite' ), 'embed' => __( 'Embed Code', 'woo-thank-you-page-nextmove-lite' ), ), 'row_classes' => array( 'xlwcty_no_border' ), 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable_1', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Video URL', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_url_1', 'type' => 'text', 'desc' => __( 'For Youtube & Vimeo only', 'woo-thank-you-page-nextmove-lite' ) . '
' . __( 'Supported parameters for Youtube video - autoplay=1 , showinfo=0 , rel=0 & controls=0', 'woo-thank-you-page-nextmove-lite' ) . '
' . __( 'Supported parameters for Vimeo video - autoplay=1 & loop=1', 'woo-thank-you-page-nextmove-lite' ), 'row_classes' => array( 'xlwcty_hide_label', 'xlwcty_pt0' ), 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable_1', 'data-conditional-value' => '1', 'data-xlwcty-conditional-id' => $config['slug'] . '_src_1', 'data-xlwcty-conditional-value' => 'video_url', ), ), array( 'name' => __( 'Embed Code', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_embed_1', 'type' => 'textarea_small', 'desc' => __( 'Embed source of video', 'woo-thank-you-page-nextmove-lite' ), 'row_classes' => array( 'xlwcty_hide_label', 'xlwcty_pt0' ), 'sanitization_cb' => array( 'XLWCTY_Component', 'save_original_content' ), 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable_1', 'data-conditional-value' => '1', 'data-xlwcty-conditional-id' => $config['slug'] . '_src_1', 'data-xlwcty-conditional-value' => 'embed', ), ), array( 'name' => __( 'Show Button', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_show_btn_1', 'type' => 'radio_inline', 'options' => array( 'yes' => __( 'Yes', 'woo-thank-you-page-nextmove-lite' ), 'no' => __( 'No', 'woo-thank-you-page-nextmove-lite' ), ), 'row_classes' => array( 'xlwcty_no_border' ), 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable_1', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Button Text', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_btn_text_1', 'type' => 'text', 'row_classes' => array( 'xlwcty_hide_label', 'xlwcty_no_border', 'xlwcty_pt0' ), 'before' => '

Text

', 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable_1', 'data-conditional-value' => '1', 'data-xlwcty-conditional-id' => $config['slug'] . '_show_btn_1', 'data-xlwcty-conditional-value' => 'yes', ), ), array( 'name' => __( 'Button Link', 'woo-thank-you-page-nextmove-lite' ), 'desc' => __( 'Use ', 'woo-thank-you-page-nextmove-lite' ) . ' {{home_url}}, {{shop_url}} ' . __( 'for dynamic links.', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_btn_link_1', 'desc' => 'Dynamic merge tags list', 'type' => 'text', 'row_classes' => array( 'xlwcty_no_border', 'xlwcty_hide_label', 'xlwcty_pt0' ), 'before' => '

Link

', 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable_1', 'data-conditional-value' => '1', 'data-xlwcty-conditional-id' => $config['slug'] . '_show_btn_1', 'data-xlwcty-conditional-value' => 'yes', ), ), array( 'name' => __( 'Button Font Size', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_btn_font_size_1', 'type' => 'text_small', 'row_classes' => array( 'xlwcty_no_border', 'xlwcty_hide_label', 'xlwcty_pt0', 'xlwcty_combine_3_field_start' ), 'before' => '

Font Size (px)

', 'attributes' => array( 'type' => 'number', 'min' => '1', 'pattern' => '\d*', 'data-conditional-id' => $config['slug'] . '_enable_1', 'data-conditional-value' => '1', 'data-xlwcty-conditional-id' => $config['slug'] . '_show_btn_1', 'data-xlwcty-conditional-value' => 'yes', ), ), array( 'name' => __( 'Button Text Color', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_btn_color_1', 'type' => 'colorpicker', 'row_classes' => array( 'xlwcty_no_border', 'xlwcty_hide_label', 'xlwcty_pt0', 'xlwcty_combine_3_field_middle' ), 'before' => '

Text Color

', 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable_1', 'data-conditional-value' => '1', 'data-xlwcty-conditional-id' => $config['slug'] . '_show_btn_1', 'data-xlwcty-conditional-value' => 'yes', ), ), array( 'name' => __( 'Button Background Color', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_btn_bg_color_1', 'type' => 'colorpicker', 'row_classes' => array( 'xlwcty_no_border', 'xlwcty_hide_label', 'xlwcty_pt0', 'xlwcty_combine_3_field_end' ), 'before' => '

Background Color

', 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable_1', 'data-conditional-value' => '1', 'data-xlwcty-conditional-id' => $config['slug'] . '_show_btn_1', 'data-xlwcty-conditional-value' => 'yes', ), ), array( 'name' => __( 'Border', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_border_style_1', 'type' => 'select', 'row_classes' => array( 'xlwcty_no_border', 'xlwcty_select_small', 'xlwcty_combine_3_field_start' ), 'before' => '

Style

', 'options' => array( 'dotted' => __( 'Dotted', 'woo-thank-you-page-nextmove-lite' ), 'dashed' => __( 'Dashed', 'woo-thank-you-page-nextmove-lite' ), 'solid' => __( 'Solid', 'woo-thank-you-page-nextmove-lite' ), 'double' => __( 'Double', 'woo-thank-you-page-nextmove-lite' ), 'none' => __( 'None', 'woo-thank-you-page-nextmove-lite' ), ), 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable_1', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Border Width', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_border_width_1', 'type' => 'text_small', 'row_classes' => array( 'xlwcty_no_border', 'xlwcty_hide_label', 'xlwcty_combine_3_field_middle' ), 'before' => '

Width (px)

', 'attributes' => array( 'type' => 'number', 'min' => '0', 'pattern' => '\d*', 'data-conditional-id' => $config['slug'] . '_enable_1', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Border Color', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_border_color_1', 'type' => 'colorpicker', 'row_classes' => array( 'xlwcty_border_top', 'xlwcty_hide_label', 'xlwcty_combine_3_field_end' ), 'before' => '

Color

', 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable_1', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Background', 'woo-thank-you-page-nextmove-lite' ), 'desc' => __( 'Component background color', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_component_bg_1', 'type' => 'colorpicker', 'row_classes' => array(), 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable_1', 'data-conditional-value' => '1', ), 'after_row' => array( 'XLWCTY_Admin_CMB2_Support', 'cmb_after_row_cb' ), ), ) ), ); $config['default'] = array( 'heading' => '', 'heading_font_size' => '20', 'heading_alignment' => 'center', 'desc' => '', 'desc_alignment' => 'center', 'source' => 'video_url', 'url' => '', 'embed' => '', 'show_btn' => 'no', 'btn_text' => 'Start Shopping', 'btn_link' => '{{shop_url}}', 'btn_font_size' => '20', 'btn_color' => '#ffffff', 'btn_bg_color' => '#1291ff', 'border_style' => 'solid', 'border_width' => '1', 'border_color' => '#d9d9d9', 'component_bg_color' => '#ffffff', ); return $config;