Skip to content

Instantly share code, notes, and snippets.

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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment