<?php //Pro Details
function appointment_pro_feature_customizer( $wp_customize ) {
class Appointment_Pro__Feature_Customize_Control extends WP_Customize_Control {
    public $type = 'new_menu';
    /**
    * Render the control's content.
    */
    public function render_content() {
    ?>
    <div class="appointment-pro-features-customizer">
    <ul class="appointment-pro-features">
        <li>
            <span class="appointment-pro-label"><?php esc_html_e( 'PRO','appointment' ); ?></span>
            <?php esc_html_e( 'Advanced Header Settings','appointment' ); ?>
        </li>
        <li>
            <span class="appointment-pro-label"><?php esc_html_e( 'PRO','appointment' ); ?></span>
            <?php esc_html_e( 'Multiple Page Templates','appointment' ); ?>
        </li>   
        <li>
            <span class="appointment-pro-label"><?php esc_html_e( 'PRO','appointment' ); ?></span>
            <?php esc_html_e( 'Portfolio Management','appointment' ); ?>
        </li>
        <li>
            <span class="appointment-pro-label"><?php esc_html_e( 'PRO','appointment' ); ?></span>
            <?php esc_html_e( 'Slide Variations','appointment' ); ?>
        </li>
      <li>
            <span class="appointment-pro-label"><?php esc_html_e( 'PRO','appointment' ); ?></span>
            <?php esc_html_e( 'Create Unlimited Services','appointment' ); ?>
        </li>
      <li>
            <span class="appointment-pro-label"><?php esc_html_e( 'PRO','appointment' ); ?></span>
            <?php esc_html_e( 'Manage Contact Details','appointment' ); ?>
        </li>
        <li>
            <span class="appointment-pro-label"><?php esc_html_e( 'PRO','appointment' ); ?></span>
            <?php esc_html_e( 'Testimonial Section','appointment' ); ?>
        </li>
        <li>
            <span class="appointment-pro-label"><?php esc_html_e( 'PRO','appointment' ); ?></span>
            <?php esc_html_e( 'Client Section','appointment' ); ?>
        </li>
      <li>
            <span class="appointment-pro-label"><?php esc_html_e( 'PRO','appointment' ); ?></span>
            <?php esc_html_e( 'Team Section','appointment' ); ?>
        </li>
      <li>
            <span class="appointment-pro-label"><?php esc_html_e( 'PRO','appointment' ); ?></span>
            <?php esc_html_e( 'Custom Color Schemes','appointment' ); ?>
        </li>
      <li>
            <span class="appointment-pro-label"><?php esc_html_e( 'PRO','appointment' ); ?></span>
            <?php esc_html_e( 'Section Reordering','appointment' ); ?>
        </li>
        <li>
            <span class="appointment-pro-label"><?php esc_html_e( 'PRO','appointment' ); ?></span>
            <?php esc_html_e( 'Footer Callout Settings','appointment' ); ?>
        </li>
        <li>
            <span class="appointment-pro-label"><?php esc_html_e( 'PRO','appointment' ); ?></span>
            <?php esc_html_e( 'Appointment Support','appointment' ); ?>
        </li>
    </ul>
    <a target="_blank" href="<?php echo esc_url('https://webriti.com/appointment/');?>" class="appointment-pro-button button-primary"><?php esc_html_e( 'UPGRADE TO PRO','appointment' ); ?></a>
    <hr>
</div>
    <?php
    }
}
$wp_customize->add_section( 'appointment_pro_feature_section' , array(
		'title'      => esc_html__('View PRO Details', 'appointment'),
		'priority'   => 1,
   	) );

$wp_customize->add_setting(
    'upgrade_pro_feature',
    array(
        'capability'     => 'edit_theme_options',
        'sanitize_callback'=>'sanitize_text_field'
        
    )	
);
$wp_customize->add_control( new Appointment_Pro__Feature_Customize_Control( $wp_customize, 'upgrade_pro_feature', array(
		'section' => 'appointment_pro_feature_section',
		'setting' => 'upgrade_pro_feature',
    ))
);
class Appointment_Feature_document_Customize_Control extends WP_Customize_Control {
    public $type = 'new_menu';
    /**
    * Render the control's content.
    */
    public function render_content() {
    ?>
   
     <div class="appointment-pro-content">
        <ul class="appointment-pro-des">
                <li> <?php esc_html_e('Add top header bar with advance configuration settings.','appointment');?></li>
                <li> <?php esc_html_e('Theme comes with multiple page settings like portfolio 2/3/4 column, about us etc etc.','appointment');?></li>
                <li> <?php esc_html_e('Create professional looking portfolio.','appointment');?></li>
                <li> <?php esc_html_e('Pro version theme comes with various slide variations like you can add video slide, aside, quote etc etc.','appointment');?></li>
                <li> <?php esc_html_e('Add as many services you like. You can even display all the services on a separate page.','appointment');?></li>      
                <li> <?php esc_html_e('Theme comes with a beautifully designed section where you can manage your contact details.','appointment');?></li>
                <li> <?php esc_html_e('Show all your team members, clients, testimonials on front page.','appointment');?></li>
                <li> <?php esc_html_e('You will enjoy more frontpage sections along with there settings.','appointment');?></li>
                <li> <?php esc_html_e('Select among predefined color skins, you can even create yours without writing any CSS code.','appointment');?></li>
                <li> <?php esc_html_e('Layout manager will helps you to rearrange the sections.','appointment');?></li>
                <li> <?php esc_html_e('Translation ready supporting popular plugins WPML / Polylang','appointment');?></li>
                <li> <?php esc_html_e('Support for google map 24/7 professional support','appointment');?></li>
                <li> <?php esc_html_e('Dedicated support, various widget and sidebar management.','appointment');?></li>
            </ul>
     </div>
    <?php
    }
}

$wp_customize->add_setting(
    'doc_Review_feature',
    array(
        'capability'     => 'edit_theme_options',
        'sanitize_callback'=>'sanitize_text_field'
    ));
$wp_customize->add_control( new Appointment_Feature_document_Customize_Control( $wp_customize, 'doc_Review_feature', array(	
		'section' => 'appointment_pro_feature_section',
		'setting' => 'doc_Review_feature',
    ))
);

}
add_action( 'customize_register', 'appointment_pro_feature_customizer' );