Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
// Nutzlose Kontaktfelder im Benutzerprofil entfernen
function ah_hide_profile_fields( $contactmethods ) {
unset($contactmethods['aim']);
unset($contactmethods['jabber']);
unset($contactmethods['yim']);
return $contactmethods;
}
add_filter('user_contactmethods','ah_hide_profile_fields',10,1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.