Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remove default author profile fields
<?php
add_filter( 'user_contactmethods', 'hide_profile_fields', 10, 1 );
/**
* Remove default author profile fields
*
*/
function hide_profile_fields( $contactmethods ) {
unset($contactmethods['aim']);
unset($contactmethods['jabber']);
unset($contactmethods['yim']);
return $contactmethods;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment