[wp-hackers] Custom taxonomies for authors

Andrew Nacin wp at andrewnacin.com
Mon Mar 15 06:13:51 UTC 2010


>
> where's my Twitter, Facebook, and LinkedIn URLs while we are at it


add_filter( 'user_contactmethods', 'my_twitter_facebook_linkedin' );
function my_twitter_facebook_linkedin( $a ) {
   return array_merge( $a, array( 'twitter' => 'Twitter', 'facebook' =>
'Facebook', 'linkedin' => 'LinkedIn' ) );
}


More information about the wp-hackers mailing list