Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 7e0115354e
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (24 sloc) 0.657 kB
<?php
/**
* Profile Options
* by Philip M. Hofer (Frumph)
* http://frumph.net/
*
* Displays more profile options available to end users
*
*
*/
function easel_remove_unwanted_contactmethods( $contactmethods ) {
unset($contactmethods['aim']);
unset($contactmethods['jabber']);
unset($contactmethods['yim']);
return $contactmethods;
}
// add_filter('user_contactmethods','easel_remove_unwanted_contactmethods',10,1);
function add_new_contactmethods($methods){
$methods['twitter'] = 'Twitter ID';
$methods['facebook'] = 'Facebook';
$methods['msn'] = 'MSN';
return $methods;
}
add_filter('user_contactmethods','add_new_contactmethods');
Jump to Line
Something went wrong with that request. Please try again.