<?php
defined('ABSPATH') || exit;

if( !class_exists( 'WP_Customize_Control' ) ){
	return null;
}

class Coblog_Separator_Control extends WP_Customize_Control {
	
	public $type = 'separator';
	
	public function render_content(){
	?>
		<div class="coblog-customizer-warp">
			<?php if( isset($this->label) && '' !== $this->label ): ?>
				<span class="customize-control-title"><?php echo esc_html(sanitize_text_field($this->label)); ?></span>
			<?php endif; ?>
			<div class="coblog-customizer-separator">
				<hr/>
			</div>
		</div>
	<?php
	}
}
