Adding fields to the “Add New User” screen in the dashboard
-
30-10-2019 - |
Question
I'd like to add the field "Company Name" to the add new user page in the admin panel. I've done quite a bit of searching and have been unable to find details on how to do this. I can easily add info to the profile page and registration with..
function my_custom_userfields( $contactmethods ) {
//Adds customer contact details
$contactmethods['company_name'] = 'Company Name';
return $contactmethods;
}
add_filter('user_contactmethods','my_custom_userfields',10,1);
But no dice on anything else.
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with wordpress.stackexchange