Posted By

richerimage on 11/17/10


Tagged


Versions (?)

Add twitter ect to wordpress user admin


 / Published in: PHP
 

  1. //--- Adds updated Socila Networks to User Admin
  2.  
  3. function extra_contact_info($contactmethods) {
  4. unset($contactmethods['aim']);
  5. unset($contactmethods['yim']);
  6. unset($contactmethods['jabber']);
  7. $contactmethods['facebook'] = 'Facebook';
  8. $contactmethods['twitter'] = 'Twitter';
  9. $contactmethods['linkedin'] = 'LinkedIn';
  10.  
  11. return $contactmethods;
  12. }
  13. add_filter('user_contactmethods', 'extra_contact_info');

Report this snippet  

You need to login to post a comment.