$config['slug'], 'xlwcty_accordion_title' => $config['title'], 'xlwcty_icon' => 'xlwcty-fa xlwcty-fa-user-circle-o', 'position' => 10, 'fields' => array( array( 'name' => __( 'Enable', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_enable', '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'], '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', 'type' => 'text', 'row_classes' => array( 'xlwcty_no_border' ), 'desc' => 'Dynamic merge tags list', 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Heading Font Size', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_heading_font_size', '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', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Heading alignment', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_heading_alignment', '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', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Description', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_after_heading_desc', 'type' => 'textarea_small', 'row_classes' => array( 'xlwcty_no_border' ), 'desc' => 'Dynamic merge tags list', 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Description alignment', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_after_heading_desc_alignment', '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', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Show', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_show_shipping', 'type' => 'radio_inline', 'row_classes' => array( 'xlwcty_no_border', 'xlwcty_combine_2_field_start' ), 'before' => 'Shipping Address
', 'options' => array( 'yes' => __( 'Yes', 'woo-thank-you-page-nextmove-lite' ), 'no' => __( 'No', 'woo-thank-you-page-nextmove-lite' ), ), 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Billing Address', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_show_billing', 'type' => 'radio_inline', 'row_classes' => array( 'xlwcty_combine_2_field_end' ), 'before' => 'Billing Address
', 'options' => array( 'yes' => __( 'Yes', 'woo-thank-you-page-nextmove-lite' ), 'no' => __( 'No', 'woo-thank-you-page-nextmove-lite' ), ), 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Layout', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_layout', 'type' => 'radio_inline', 'row_classes' => array( '' ), 'options' => array( '2c' => __( 'Two Column', 'woo-thank-you-page-nextmove-lite' ), 'full_width' => __( 'Full Width', 'woo-thank-you-page-nextmove-lite' ), ), 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Description after customer information', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_after_customer_information_desc', 'type' => 'textarea_small', 'row_classes' => array( 'xlwcty_no_border' ), 'desc' => 'Dynamic merge tags list', 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Description alignment', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_after_customer_information_desc_alignment', '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', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Border', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_border_style', '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', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Border Width', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_border_width', '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', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Border Color', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_border_color', 'type' => 'colorpicker', 'row_classes' => array( 'xlwcty_hide_label', 'xlwcty_combine_3_field_end' ), 'before' => 'Color
', 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable', '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', 'type' => 'colorpicker', 'row_classes' => array(), 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Hide on', 'woo-thank-you-page-nextmove-lite' ), 'desc' => __( 'Desktop', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_hide_desktop', 'type' => 'checkbox', 'row_classes' => array( 'xlwcty_no_border', 'xlwcty_combine_2_field_start' ), 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable', 'data-conditional-value' => '1', ), ), array( 'name' => __( 'Hide on', 'woo-thank-you-page-nextmove-lite' ), 'desc' => __( 'Mobile', 'woo-thank-you-page-nextmove-lite' ), 'id' => $config['slug'] . '_hide_mobile', 'type' => 'checkbox', 'row_classes' => array( 'xlwcty_no_border', 'xlwcty_hide_label', 'xlwcty_combine_2_field_end' ), 'attributes' => array( 'data-conditional-id' => $config['slug'] . '_enable', 'data-conditional-value' => '1', ), 'after_row' => array( 'XLWCTY_Admin_CMB2_Support', 'cmb_after_row_cb' ), ), ), ); $config['default'] = array( 'heading' => __( 'Customer Information', 'woo-thank-you-page-nextmove-lite' ), 'heading_font_size' => '20', 'heading_alignment' => 'left', 'layout' => '2c', 'show_shipping' => 'yes', 'show_billing' => 'yes', 'border_style' => 'solid', 'border_width' => '1', 'desc' => '', 'desc_alignment' => 'left', 'after_desc' => '', 'after_desc_alignment' => 'left', 'border_color' => '#d9d9d9', 'component_bg_color' => '#ffffff', ); return $config;