<?php
/**
* Homepage (Static ) options
*
* @package Theme Palace
* @subpackage Personify Pro
* @since Personify Pro 1.0
*/

// Homepage (Static ) setting and control.
$wp_customize->add_setting( 'personify_pro_theme_options[enable_frontpage_content]', array(
	'sanitize_callback' => 'personify_pro_sanitize_switch_control',
	'default'          	=> $options['enable_frontpage_content'],
) );

$wp_customize->add_control( new Personify_Pro_Switch_Control( $wp_customize, 'personify_pro_theme_options[enable_frontpage_content]', array(
	'label'            	=> esc_html__( 'Enable Frontpage Content', 'personify-pro' ),
	'section'          	=> 'static_front_page',
	'on_off_label' 		=> personify_pro_enable_options(),
) ) );