Add Relevant Social Media To WordPress User Profiles
By default the contact info in WordPress user profiles only gives the options to include AIM, Yahoo IM, and Jabber/Google Talk to registered WordPress users, as well as your own website and required email address information. But… the truth is, with some exceptions AOL Instant Messenger (AIM), Yahoo, and Jabber are not as popular these days as much as Facebook, Twitter, Google Plus, and LinkedIn are.
As the internet evolves other social media websites become relevant. Removing the AIM, Yahoo IM, and Jabber/Google Talk options and replacing them with updated social media accounts Facebook, Twitter, Google+, and LinkedIn makes a lot more sense. After all, Facebook, Twitter, LinkedIn, and Google Plus are in the top 5 most used social networks right now (Myspace being #4, people still use it).
How To Add Facebook, Twitter, Google+, And LinkedIn To User Profiles With PHP
Below we outline an easy PHP snippet to change AIM, Yahoo IM, and Jabber/Google Talk to Facebook, Twitter, Google Plus, and LinkedIn to the WordPress user profile contact info.
Copy and paste the PHP snippet below into your functions.php file.
function extra_contact_info($contactmethods) {
unset($contactmethods['aim']);
unset($contactmethods['yim']);
unset($contactmethods['jabber']);
$contactmethods['facebook'] = 'Facebook';
$contactmethods['twitter'] = 'Twitter';
$contactmethods['linkedin'] = 'LinkedIn';
$contactmethods['googleplus'] = 'Google+';
return $contactmethods;
}
add_filter('user_contactmethods', 'extra_contact_info');
Theme Functions Example:
- cPanel Down for Some Users After Emergency Authentication Security Update
- Bot Traffic from China Is Spamming the Web
- WPvivid Bug Exposes 900,000 WordPress Sites to Remote Takeover
- WordPress 6.9 Is the Most Problematic Update of All Time
- What Is data-start data-end and Is It Exposing Your AI Content?
WordPress Bot Protection
Bot Blocker for WordPress
Detect bot traffic, monitor live activity, apply bot-aware rules, and control AI crawlers, scrapers, scanners, spam bots, and fake trusted bots from one clean WordPress admin interface.
Sean Doyle
Sean is a tech author and security researcher with more than 20 years of experience in cybersecurity, privacy, malware analysis, analytics, and online marketing. He focuses on clear reporting, deep technical investigation, and practical guidance that helps readers stay safe in a fast-moving digital landscape. His work continues to appear in respected publications, including articles written for Private Internet Access. Through Botcrawl and his ongoing cybersecurity coverage, Sean provides trusted insights on data breaches, malware threats, and online safety for individuals and businesses worldwide.






