Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 117facab28
Fetching contributors…

Cannot retrieve contributors at this time

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