<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

/**
 * Frontpage info.
 *
 * @package pawfect
 */

defined( 'ABSPATH' ) || exit;

if ( ! class_exists( 'pawfect_Customize_Homepage_Info_Option' ) ) :

	class pawfect_Customize_Homepage_Info_Option extends pawfect_Customize_Base_Option {

		/**
		 * Arguments for options.
		 *
		 * @return array
		 */
		public function elements() {

			return array(

				'pawfect_info_heading'     => array(
					'setting' => array(),
					'control' => array(
						'type'    => 'heading',
						'priority'        => 1,
						'label'   => esc_html__( 'Info Options', 'pawfect' ),
						'section' => 'pawfect_theme_info',
					),
				),
					
				// Info Top Enable
				'pawfect_info_top_disabled'            => array(
					'setting' => array(
						'default'           => true,
						'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_checkbox' ),
					),
					'control' => array(
						'type'     => 'toggle',
						'priority' => 3,
						'label'    => esc_html__( 'Top Info Enable/Disable', 'pawfect' ),
						'section'  => 'pawfect_theme_info',
					),
				),	
				
				// Info Footer Enable
				'pawfect_info_bottom_disabled'            => array(
					'setting' => array(
						'default'           => true,
						'sanitize_callback' => array( 'pawfect_Customizer_Sanitize', 'sanitize_checkbox' ),
					),
					'control' => array(
						'type'     => 'toggle',
						'priority' => 3,
						'label'    => esc_html__( 'Bottom Info Enable/Disable', 'pawfect' ),
						'section'  => 'pawfect_theme_info',
					),
				),
			);
		}
	}

	//new pawfect_Customize_Homepage_Info_Option();

endif;