Skip to content

Snippet: Add New Social Options To The Social Links Widget

Important: This filter has been deprecated in 1.4.9 in exchange for the global social profiles list, please see the docs here.
/**
 * Add New Social Options To The Social Links Widget.
 *
 * @link https://total.wpexplorer.com/docs/snippets/add-new-social-options-to-the-fontawesome-social-widget/
 * @deprecated 1.4.9
 */
add_filter( 'wpex_social_widget_profiles', function( $array ) {
	$array['medium'] = array(
		'name' => 'Medium',
		'url' => '',
	);
	return $array;
} );
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