How to remove User profile fields

August 24, 2010 – 9:00 am |

Similar to this post, you can add a new function that is called by the “user_contactmethods” filter. Then, unset the values for the contact methods you no longer would like.

For AIM, you would do the following in your functions.php file:

  1. function bwa_remove_some_contactmethods( $contactmethods ) {
  2. unset($contactmethods['aim']);
  3. return $contactmethods;
  4. }
  5. add_filter('user_contactmethods','bwa_remove_some_contactmethods',10,1);

You can modify the other items as well, just identify the field name. Example: jabber or yim

Thanks to e-sushi from http://e-sushi.net for the suggestion in this thread: Remove Some Profile Fields

pixel How to remove User profile fields

Tagged: , , , , , , , , , , , ,