Snippets: Remove Deprecated Notice Above Deprecated Visual Composer Tabs

This isn't really recommended but if you have used the old deprecated tabs on your site a lot and wish to continue using them without seeing the orange deprecated notice it can be removed easily.


function myprefix_remove_deprecated_notice_on_tabs() {
	vc_map_update( 'vc_tabs', array(
		'deprecated' => false,
	) );
}
add_action( 'vc_after_init', 'myprefix_remove_deprecated_notice_on_tabs' );
All PHP snippets should be added via a child theme's functions.php file.