Function to Change Custom User Social Fields

* code #8 - add & remove custom WordPress social contacts from user profile
* source -
* @param array
* @return array
function cusom_social_contact_links($contacts) {
// Adding
$contacts['twitter'] = 'Twitter';
$contacts['youtube'] = 'YouTube';
$contacts['dribbble'] = 'Dribbble';

// Removing

return $contacts;
add_filter('user_contactmethods','cusom_social_contact_links', 10, 1);

Once you log into the WordPress admin panel and find your profile page you will notice some extra contact fields. Users may fill out their own details for profiles such as Skype or Twitter. Using this code you may customize your own fields to include other methods of communication, or even other social media profiles.