WordPress by default provides many user information fields that may be unnecessary for some websites. Here we will ses how to Remove Default Fields Contact info From User Profile and replace them with something more usable without using plugin.

Put the code in function.php file :

function update_contact_methods( $contactmethods ) {

// Remove annoying and unwanted default fields  

// Add new fields  
$contactmethods['phone'] = 'Phone';  
$contactmethods['mobile'] = 'Mobile';  
$contactmethods['address'] = 'Address';  

return $contactmethods;
add_filter('user_contactmethods', 'update_contact_methods');
There are currently no comments.