<?php 

Kirki::add_section( 'header_meddle_section', array(
	'title'    => esc_html__( 'Header Meddle', 'newscope' ),
	'panel'    => 'header_options',
) );


new \Kirki\Field\Checkbox_Switch(
	[
		'settings'    => 'enable_header_center',
		'label'       => esc_html__( 'Enable Post Category', 'newscope' ),
		'description' => esc_html__( 'Enable Header Post Category', 'newscope' ),
		'section'     => 'header_meddle_section',
		'default'     => 'on',
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'newscope' ),
			'off' => esc_html__( 'Disable', 'newscope' ),
		],
		'active_callback' => [
			[
				'setting'  => 'select_header',
				'operator' => '===',
				'value'    => 'one',
			]
		],
	]
);
