<?php
/**
 * Header Options
 *
 * @package News Revolution
 */

$wp_customize->add_section(
	'news_revolution_header_options',
	array(
		'panel' => 'news_revolution_theme_options',
		'title' => esc_html__( 'Header Options', 'news-revolution' ),
	)
);

// Header Section - Enable Topbar Section.
$wp_customize->add_setting(
	'news_revolution_enable_topbar_section',
	array(
		'default'           => false,
		'sanitize_callback' => 'news_revolution_sanitize_switch',
	)
);

$wp_customize->add_control(
	new News_Revolution_Toggle_Switch_Custom_Control(
		$wp_customize,
		'news_revolution_enable_topbar_section',
		array(
			'label'    => esc_html__( 'Enable Topbar Section', 'news-revolution' ),
			'section'  => 'news_revolution_header_options',
			'settings' => 'news_revolution_enable_topbar_section',
		)
	)
);
