<?php
/**
 * Footer Copyright.
 *
 * @package leatherhouse
 */

defined( 'ABSPATH' ) || exit;

if ( ! class_exists( 'leatherhouse_Customize_Footer_Copyright_Option' ) ) :

	/**
	 * Footer Copyright.
	 */
	class leatherhouse_Customize_Footer_Copyright_Option extends leatherhouse_Customize_Base_Option {

		public function elements() {

			return array(

				'leatherhouse_footer_copy_heading'    => array(
					'setting' => array(),
					'control' => array(
						'type'     => 'parent_heading',
						'priority' => 1,
						'label'    => esc_html__( 'Footer Copyright Settings', 'leather-house' ),
						'section'  => 'leatherhouse_footer_copyright',
					),
				),

				'leatherhouse_footer_copright_enabled' => array(
					'setting' => array(
						'default'           => true,
						'sanitize_callback' => array( 'leatherhouse_Customizer_Sanitize', 'sanitize_checkbox' ),
					),
					'control' => array(
						'type'     => 'toggle',
						'priority' => 5,
						'label'    => esc_html__( 'Footer Copyright Enable/Disable', 'leather-house' ),
						'section'  => 'leatherhouse_footer_copyright',
					),
				),

				'leatherhouse_footer_social_icon_enabled' => array(
					'setting' => array(
						'default'           => true,
						'sanitize_callback' => array( 'leatherhouse_Customizer_Sanitize', 'sanitize_checkbox' ),
					),
					'control' => array(
						'type'     => 'toggle',
						'priority' => 19,
						'label'    => esc_html__( 'Footer Social Icon Enable/Disable', 'leather-house' ),
						'section'  => 'leatherhouse_footer_copyright',
					),
				),

			);

		}

	}

	new leatherhouse_Customize_Footer_Copyright_Option();

endif;
