<?php
// Add custom field to section
if(!function_exists('bixol_custom_section_params')){
    add_filter('ct-custom-section/custom-params', 'bixol_custom_section_params'); 
    function bixol_custom_section_params(){
        return array(
            'sections' => array(
                array(
                    'name'     => 'ct_row_settings',
                    'label'    => esc_html__( 'Case Settings', 'bixol' ),
                    'tab'      => \Elementor\Controls_Manager::TAB_LAYOUT,
                    'controls' => array(
                        array(
                            'name'    => 'header_fixed_transparent',
                            'label'   => esc_html__( 'Header Fixed Transparent', 'bixol' ),
                            'type'    => \Elementor\Controls_Manager::SELECT,
                            'options' => array(
                                'none'        => esc_html__( 'No', 'bixol' ),
                                'transparent'   => esc_html__( 'Yes', 'bixol' ),
                            ),
                            'prefix_class' => 'ct-header-fixed-',
                            'default'      => 'none',
                        ),
                        array(
                            'name'    => 'pxl_row_divider',
                            'label'   => esc_html__( 'Divider', 'bixol' ),
                            'type'    => \Elementor\Controls_Manager::SELECT,
                            'options' => array(
                                'none'        => esc_html__( 'None', 'bixol' ),
                                'curved'        => esc_html__( 'Curved', 'bixol' ),
                            ),
                            'prefix_class' => 'pxl-divider-',
                            'default'      => 'none',
                        ),
                    ),
                ),
            ),
        );
    }
}