<?php
function howcan_pannel( $wp_customize ) {

    // Add Panel (acts like a parent section)
    $wp_customize->add_panel( 'howcan_theme_options_panel', array(
        'title'       => __( 'Theme Options', 'howcan' ),
        'description' => __( 'All configurable options for HowCan theme.', 'howcan' ),
        'priority'    => 10, // After default panels
    ) );

}
add_action( 'customize_register', 'howcan_pannel' );


// Sanitize checkbox
function howcan_sanitize_checkbox( $checked ) {
    return ( isset( $checked ) && true == $checked ) ? true : false;
}
// sanitize scripts 
function howcan_sanitize_scripts( $input ) {
    return $input;
}
 //------ end sanitize 
 
 
// requre topbar options 
 require get_template_directory() . '/inc/customizer/header/topbar.php';

// requre navbar options 
 require get_template_directory() . '/inc/customizer/header/navbar.php';
 


// requre header-img options 
 require get_template_directory() . '/inc/customizer/header/header-img.php';
 

// requre aboutv options 
 require get_template_directory() . '/inc/customizer/front-page/about.php';

// requre feature options 
 require get_template_directory() . '/inc/customizer/front-page/feature.php';
 


// requre testimonial options 
 require get_template_directory() . '/inc/customizer/front-page/testi.php';
 


// requre cta options 
 require get_template_directory() . '/inc/customizer/front-page/cta.php';
 

// requre blog options 
 require get_template_directory() . '/inc/customizer/front-page/blog.php';
 


// requre newslatter options 
 require get_template_directory() . '/inc/customizer/front-page/newsletter.php';
 

