<?php
/**
 *  RovenBlog_Simple_Message Class Template
 *
 * @package Roven-Blog
 */

/**
 * Simple title text Custom Control.
 */
class RovenBlog_Simple_Message extends WP_Customize_Control {

	/**
	 * The type of control being rendered.
	 *
	 *  @var $type - control type.
	 */
	public $type = 'rovenblog-simple-message';

	/**
	 * Description content text.
	 *
	 *  @var $description - message text.
	 */
	public $description = '';

	/**
	 * Render the control in the customizer
	 */
	public function render_content() {
		if ( '' !== trim( $this->description ) ) {
			?>
			<div class="rb-upsell-wrap">
				<p class="rb-customize-title">
					<?php echo esc_html( $this->description ); ?>
				</p>
			</div>
			<?php
		}
	}
}
