<?php
/**
 * Template.
 * @package     pawfect
 */

// Exit if accessed directly.
defined('ABSPATH') || exit;

/*========================================== Template ==========================================*/
if (!class_exists('pawfect_Customize_Theme_Template_Option')):


	class pawfect_Customize_Theme_Template_Option extends pawfect_Customize_Base_Option
	{

		public function elements()
		{

			return array(
				// Contact settings have been moved to class-pawfect-options-contact.php

				/**
				 * Theme Service Template
				 */
				//Service Heading.
				'pawfect_template_service_heading' => array(
					'setting' => array(),
					'control' => array(
						'type' => 'heading',
						'priority' => 1,
						'label' => esc_html__('Service Settings', 'pawfect'),
						'section' => 'service_template_settings',
					),
				),

				// Service Funfact Enable Disable.
				'pawfect_template_service_callout_disable' => array(
					'setting' => array(
						'default' => true,
						'sanitize_callback' => array('pawfect_Customizer_Sanitize', 'sanitize_checkbox'),
					),
					'control' => array(
						'type' => 'toggle',
						'priority' => 10,
						'label' => esc_html__('Enable Callout Section', 'pawfect'),
						'section' => 'service_template_settings',
					),
				),

				// Service Sponsors Disable.
				'pawfect_template_service_sponsors_disable' => array(
					'setting' => array(
						'default' => true,
						'sanitize_callback' => array('pawfect_Customizer_Sanitize', 'sanitize_checkbox'),
					),
					'control' => array(
						'type' => 'toggle',
						'priority' => 25,
						'label' => esc_html__('Enable Sponsors Section', 'pawfect'),
						'section' => 'service_template_settings',
					),
				),

			);
		}
	}

	// Remove automatic instantiation - let main customizer class handle this
	// new pawfect_Customize_Theme_Template_Option();

endif;