Posted By

manavecplan on 09/12/10


Tagged


Versions (?)

twitter contact page


 / Published in: PHP
 

  1. add_filter('user_contactmethods', 'jorbin_user_contactmethods');
  2.  
  3. /**
  4.  * Removes AIM, YAHOO, and Jabber boxes from profile page and adds Twitter in it's place
  5.  *
  6.  */
  7. function jorbin_user_contactmethods($user_contactmethods){
  8. $new_user_contactmethods['twitter'] = __('Twitter');
  9.  
  10. return $new_user_contactmethods;
  11. }

Report this snippet  

You need to login to post a comment.