<?php

if( class_exists( 'WP_Customize_Control' ) ) {

    class Heading_Options_Text extends WP_Customize_Control {
        public $type = 'customtext';
        public function render_content() {
        ?>
        <label>            
            <h2><?php echo esc_html( $this->label ); ?></h2>         
        </label>
        <?php
        }
    }
}