Skip to content

Snippet: Default html tag for the Heading Element

// Change the default heading tag for the Total Heading Builder Module
add_filter( 'vcex_heading_default_tag', function() {
    return 'h2'; // options: span, div, h2, h3, h4, h5, h6
} );
All PHP snippets should be added via child theme's functions.php file or via a plugin. We recommend Code Snippets (100% Free) or WPCode (sponsored)
Back To Top