Snippets: Remove WPBakery Meta Generator Tag

Note: This will be removed by default in the Total theme in versions 4.5.3+

add_action( 'init', function() {
	if ( function_exists( 'visual_composer' ) ) {
		remove_action( 'wp_head', array( visual_composer(), 'addMetaData' ) );
	}
} );

Snippet Type: PHP

All PHP snippets should be added via a child theme's functions.php file or via the Code Snippets Plugin (or alternative plugin)