Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How To Remove Default personal_options in User Profiles
// Remove Default personal_options
add_filter('user_contactmethods','hide_profile_fields',10,1);
function hide_profile_fields( $contactmethods ) {
unset($contactmethods['aim']);
unset($contactmethods['jabber']);
unset($contactmethods['yim']);
return $contactmethods;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment