Posted By

FXDB on 10/12/11



Versions (?)

Remove Default Author Profile Fields in WordPress

 / Published in: PHP

Add to Functions.php file: If you are creating a site where your client will be adding user information, then make the interface easier for them. One of the ways you can do this is by removing the unwanted fields such as AIM, Yahoo IM, Jabber etc. Simply paste the following code to remove these fields:

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

Report this snippet  

You need to login to post a comment.