Posted By

kenjosan on 10/24/11


Tagged

wordpress


Versions (?)

Hide default profile fields WP-admin


 / Published in: PHP
 

  1. add_filter('user_contactmethods','hide_default_profile_fields',10,1);
  2. function hide_default_profile_fields( $contactfield ) {
  3. unset($contactfield['aim']);
  4. unset($contactfield['jabber']);
  5. unset($contactfield['yim']);
  6. return $contactfield;
  7. }

Report this snippet  

You need to login to post a comment.