add_section( 'header_section_settings', array( 'title' => esc_html__( 'Top Heading Section', 'bizprime' ), 'priority' => 100, 'capability' => 'edit_theme_options', 'panel' => 'theme_front_page_section', ) ); // Setting - top_header_location. $wp_customize->add_setting( 'top_header_location', array( 'default' => $default['top_header_location'], 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_control( 'top_header_location', array( 'label' => esc_html__( 'Location', 'bizprime' ), 'section' => 'header_section_settings', 'type' => 'text', 'priority' => 100, ) ); // Setting - top_header_telephone. $wp_customize->add_setting( 'top_header_telephone', array( 'default' => $default['top_header_telephone'], 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_text_field', ) ); $wp_customize->add_control( 'top_header_telephone', array( 'label' => esc_html__( 'Contact Number', 'bizprime' ), 'section' => 'header_section_settings', 'type' => 'text', 'priority' => 110, ) ); // Setting - top_header_email. $wp_customize->add_setting( 'top_header_email', array( 'default' => $default['top_header_email'], 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_email', ) ); $wp_customize->add_control( 'top_header_email', array( 'label' => esc_html__( 'Email Address', 'bizprime' ), 'section' => 'header_section_settings', 'type' => 'text', 'priority' => 120, ) ); // Setting - show-header-enable_search_option. $wp_customize->add_setting( 'enable_search_option', array( 'default' => $default['enable_search_option'], 'capability' => 'edit_theme_options', 'sanitize_callback' => 'bizprime_sanitize_checkbox', ) ); $wp_customize->add_control( 'enable_search_option', array( 'label' => __( 'Enable Top Header Search', 'bizprime' ), 'section' => 'header_section_settings', 'type' => 'checkbox', 'priority' => 190, ) );