Home / author / Remove default profile fields
  • How to Remove default profile fields

    remove-default-profile-fields

    Add this to the functions.php of your wordpress theme to remove the default profile fields.

    ( click code to copy )

    wordpress snippet : PHP

    <>
        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;
        }
    

    ( WordPress codex functions, hooks, in this snippet. )

    user_contactmethods, add_filter,