Snippets: Add New Options to VC Social Links Module

A snippet example showing how you can add new social link options to the Total Visual Composer Social Links module

// Add New Options to VC Social Links Module
add_filter( 'vcex_social_links_profiles', function( $array ) {

	// Add new option for Etsy
	$array['etsy'] = array(
		'label' => 'Etsy',
		'icon_class' => 'fa fa-etsy',
	);

	// Return options
	return $array;

} );
All PHP snippets should be added via a child theme's functions.php file.