Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WP: Remove extra contact methods from user info
function remove_contact_methods( $contact_methods ) {
unset($contact_methods['yim']); // Remove Yahoo IM
unset($contact_methods['aim']); // Remove AIM
unset($contact_methods['jabber']); // Remove Jabber
return $contact_methods;
}
add_filter('user_contactmethods','remove_contact_methods',10,1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment