function igthemes_customizer_register($wp_customize)
{
    /**
     * This is optional, but if you want to reuse some of the defaults
     * or values you already have built in the options panel, you
     * can load them into $options for easy reference
     */
    $options = igthemes_optionsframework_options();
    $wp_customize->add_section('general-settings', array('priority' => 10, 'capability' => 'edit_theme_options', 'theme_supports' => '', 'title' => __('Logo and favicon', 'store-wp'), 'description' => '', 'panel' => ''));
    //LOGO
    $wp_customize->add_setting('store-wp[logo]', array('type' => 'option', 'sanitize_callback' => 'esc_url_raw'));
    $wp_customize->add_control(new WP_Customize_Image_Control($wp_customize, 'logo', array('label' => $options['logo']['name'], 'settings' => 'store-wp[logo]', 'section' => 'general-settings')));
    //FAVICON
    $wp_customize->add_setting('store-wp[favicon]', array('type' => 'option', 'sanitize_callback' => 'esc_url_raw'));
    $wp_customize->add_control(new WP_Customize_Image_Control($wp_customize, 'favicon', array('label' => $options['favicon']['name'], 'settings' => 'store-wp[favicon]', 'section' => 'general-settings')));
}
 /**
  * Wrapper for igthemes_optionsframework_options()
  */
 static function &_igthemes_optionsframework_options()
 {
     static $options = null;
     if (!$options) {
         // Load options from options.php file (if it exists)
         $location = apply_filters('options_framework_location', array('options.php'));
         if ($optionsfile = locate_template($location)) {
             $maybe_options = (require_once $optionsfile);
             if (is_array($maybe_options)) {
                 $options = $maybe_options;
             } else {
                 if (function_exists('igthemes_optionsframework_options')) {
                     $options = igthemes_optionsframework_options();
                 }
             }
         }
         // Allow setting/manipulating options via filters
         $options = apply_filters('igthemes_options', $options);
     }
     return $options;
 }