<?php
/**
 * Heading for the customizer panels
 *
 * @package Multi
 */

if ( ! defined( 'ABSPATH' ) ) {
	die;
}
/**
 * Title element shown in customizer panels
 */
class Multimagazine_Customize_Heading extends WP_Customize_Control {

	/**
	 * Heading level.
	 *
	 * @var string $level HTML tag name.
	 */
	public $level = '';

	/**
	 * Heading content.
	 *
	 * @var string $content Title text.
	 */
	public $content = '';

	/**
	 * Render the control's content.
	 */
	public function render_content() {
		?>
	<h<?php echo esc_attr( $this->level ); ?>><?php echo esc_html( $this->content ); ?></h<?php echo esc_attr( $this->level ); ?>>
		<?php
	}
}
