<?php  

$lzGoogleFonts = getFonts(true);

$wp_customize->add_section(
	'luzuk_premium_general_section',
	array(
		'title' => __( 'Font Setting', 'Luzuk Premium' ),
		'panel' => 'luzuk_general_panel'
	)
);

$wp_customize->add_setting(
	'luzuk_general_headeing_font',
	array(
		'sanitize_callback'=> 'absint',
		'default' => '27'
	)
);
$wp_customize->add_control(
	new luzuk_Font_Chooser(
		$wp_customize,
		'luzuk_general_headeing_font',
		array(
			'settings'=> 'luzuk_general_headeing_font',
			'section' => 'luzuk_premium_general_section',
			'label'=>__('Heading Font', 'Luzuk Premium'),
			'choices'=>$lzGoogleFonts
		)
	)
);

$wp_customize->add_setting(
	'luzuk_general_text_font',
	array(
		'sanitize_callback'=> 'absint',
		'default' => '27'
	)
);
$wp_customize->add_control(
	new luzuk_Font_Chooser(
		$wp_customize,
		'luzuk_general_text_font',
		array(
			'settings'=> 'luzuk_general_text_font',
			'section' => 'luzuk_premium_general_section',
			'label'=>__('Body/Text Font', 'Luzuk Premium'),
			'choices'=>$lzGoogleFonts
		)
	)
);

