<?php
global $moment_panels;
global $moment_sections;
global $moment_settings_controls;
global $moment_repeated_settings_controls;
global $moment_customizer_defaults;

/*defaults values popular photo options*/
$moment_customizer_defaults['moment-home-popular-photo-section-enable'] = 1;

/* popular section Enable settings*/
$moment_sections['moment-home-popular-photo-section-enable-options'] =
    array(
        'priority'       => 10,
        'title'          => __( 'Enable Option', 'moment' ),
        'panel'          => 'moment-popular-photo-panel',
    );

/*popular section enable control*/
$moment_settings_controls['moment-home-popular-photo-section-enable'] =
    array(
        'setting' =>     array(
            'default'              => $moment_customizer_defaults['moment-home-popular-photo-section-enable']
        ),
        'control' => array(
            'label'                 =>  __( 'Enable Popular Photo Section', 'moment' ),
            'section'               => 'moment-home-popular-photo-section-enable-options',
        	'description'    		=> __( 'Enable "Popular photos Selection" on checked' , 'moment' ),
            'type'                  => 'checkbox',
            'priority'              => 10,
            'active_callback'       => ''
        )
    );