Jun
19
2013

Add custom authormeta fields

Just drop this into your functions.php file, and call it a day!

function added_user_profile( $contactmethods )
{
    $contactmethods['twitter'] = 'Twitter';
    $contactmethods['facebook'] = 'Facebook';
    
    return $contactmethods;
}
add_filter( 'user_contactmethods', 'added_user_profile', 10, 1 );

Leave a comment