<?php

if( class_exists( 'WP_Customize_Control' ) && !class_exists( 'DOCENT_PRO_THMC_Switch_Title_Control' ) ):
	/**
	* 
	*/
	class DOCENT_PRO_THMC_Switch_Title_Control extends WP_Customize_Control
	{
		public $type = 'switch';
		
		public function render_content() {

			$name = '_customize-switch-button-' . $this->id;

			if ( ! empty( $this->label ) ) : ?>
				<span class="customize-control-title title-control"><?php echo esc_html( $this->label ); ?></span>
			<?php endif;
		}
	}
endif;