Created
April 12, 2011 11:22
-
-
Save z720/915349 to your computer and use it in GitHub Desktop.
Change contact info for WordPress authors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function new_contactmethods( $contactmethods ) { | |
$contactmethods['twitter'] = 'Twitter'; // Add Twitter | |
$contactmethods['facebook'] = 'Facebook'; // Add Facebook | |
unset($contactmethods['yim']); // Remove Yahoo IM | |
unset($contactmethods['aim']); // Remove AIM | |
unset($contactmethods['jabber']); // Remove Jabber | |
return $contactmethods; | |
} | |
add_filter('user_contactmethods','new_contactmethods',10,1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment