Created
April 15, 2017 05:10
-
-
Save wykydtronik/c3213ede9e1eb56c7daf924719d2c886 to your computer and use it in GitHub Desktop.
How To Remove Default personal_options in User Profiles
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
// 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