skip to Main Content

Add New User Social Settings for Users (authors)

The following example shows you how you can use the "wpex_get_user_social_profile_settings_array" theme filter to add new social options for your site users to display in the author bio section on the live site.

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

	// Add new spotify option
	$array['spotify'] = array(
		'label' => 'Spotify',
		'icon'  => 'ticon ticon-spotify',

	// Return options
	return $array;

} );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend Code Snippets)
Back To Top