Add twitter ect to wordpress user admin


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.