<?php

// BUTTONS SHAPE
if ( ! function_exists( 'boldthemes_customize_heading_buttons_shape' ) ) {
	function boldthemes_customize_heading_buttons_shape( $wp_customize ) {
		
		$wp_customize->add_setting( BoldThemesFramework::$pfx . '_theme_options[buttons_shape]', array(
			'default'           => BoldThemes_Customize_Default::$data['buttons_shape'],
			'type'              => 'option',
			'capability'        => 'edit_theme_options',
			'sanitize_callback' => 'boldthemes_sanitize_select'
		));
		$wp_customize->add_control( 'buttons_shape', array(
			'label'     		=> esc_html__( 'Buttons Shape', 'pawsitive' ),
			'section'   		=> BoldThemesFramework::$pfx . '_typo_section',
			'settings'  		=> BoldThemesFramework::$pfx . '_theme_options[buttons_shape]',
			'priority'  		=> 100,
			'type'      		=> 'select',
			'choices'   		=> array(
				'hard-rounded' 	=> esc_html__( 'Hard Rounded', 'pawsitive' ),
				'soft-rounded' 	=> esc_html__( 'Soft Rounded', 'pawsitive' ),
				'square' 		=> esc_html__( 'Square', 'pawsitive' ),
				'drop' 			=> esc_html__( 'Drop', 'pawsitive' )
			)
		));
	}
}
