<?php
/**
 * Header Options
 */

// Header Options
$wp_customize->add_section(
	'nostalgic_blog_header_section',
	array(
		'title' => esc_html__( 'Header Options', 'nostalgic-blog' ),
		'panel' => 'nostalgic_blog_theme_options_panel',
	)
);

// Enable Topbar Options.
$wp_customize->add_setting(
	'nostalgic_blog_topbar_Section_enable',
	array(
		'default'           => true,
		'sanitize_callback' => 'nostalgic_blog_sanitize_checkbox',
	)
);

$wp_customize->add_control(
	new Nostalgic_Blog_Toggle_Checkbox_Custom_control(
		$wp_customize,
		'nostalgic_blog_topbar_Section_enable',
		array(
			'label'    => esc_html__( 'Enable Topbar', 'nostalgic-blog' ),
			'settings' => 'nostalgic_blog_topbar_Section_enable',
			'section'  => 'nostalgic_blog_header_section',
			'type'     => 'checkbox',
		)
	)
);
