Snippets: Add New Social Options To The FontAwesome Social Widget

Important: After adding new options you must use a NEW widget to make use of them. They will not display in old widgets already in use.

add_filter( 'wpex_social_widget_profiles', function( $array ) {

	/**
	 * Add "medium" to social widget
	 * The "key" should be the sane name as the icon on FontAwesome - http://fortawesome.github.io/Font-Awesome/icon/medium/
	 *
	 **/
	$array['medium'] = array(
		'name' => 'Medium',
		'url' => '',
		'nofollow' => true // Since Total 3.1.2 you can nofollow links via the filter
	);

	// Return array
	return $array;

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