template_helper::ALLOWED_HTML_TAGS ) ) {
echo '<' . esc_attr( $heading_tag ) . ' class="heading"> ' . esc_html( $heading ) . ' ' . esc_attr( $heading_tag ) . '>';
}
if ( ! empty( $subheading ) && in_array( $subheading_tag, betterdocs()->template_helper::ALLOWED_HTML_TAGS ) ) {
echo '<' . esc_attr( $subheading_tag ) . ' class="subheading"> ' . esc_html( $subheading ) . ' ' . esc_attr( $subheading_tag ) . '>';
}
?>