<?php
/**
* Global Color Settings.
*
* @package Multi Sports Club
*/

$multi_sports_club_default = multi_sports_club_get_default_theme_options();

// Layout Section.
$wp_customize->add_section( 'multi_sports_club_global_color_setting',
	array(
	'title'      => esc_html__( 'Global Color Settings', 'multi-sports-club' ),
	'priority'   => 21,
	'capability' => 'edit_theme_options',
	'panel'      => 'multi_sports_club_theme_option_panel',
	)
);

$wp_customize->add_setting( 'multi_sports_club_global_color',
    array(
    'default'           => '#E81F3E',
    'capability'        => 'edit_theme_options',
    'sanitize_callback' => 'sanitize_hex_color',
    )
);
$wp_customize->add_control( 
    new WP_Customize_Color_Control( 
    $wp_customize, 
    'multi_sports_club_global_color',
    array(
        'label'      => esc_html__( 'Global Color', 'multi-sports-club' ),
        'section'    => 'multi_sports_club_global_color_setting',
        'settings'   => 'multi_sports_club_global_color',
    ) ) 
);