users – WordPress 5.8 – Hide or Remove personal fields from admin Profile page
There are several threads on this topic, but none updated to WordPress 5.8
The question is, in 2021 WP 5.8, what is the cleanest or recommended code to hide profile fields when creating/editing a user, except the basic ones (username,email,name,lastname…)?
When I say “recommended” or “cleanest” I mean for example if there is something that can be removed “via hook”, like the “Admin colour scheme”, then this would be the best option, right?
Some options for other wordpress versions:
Thanks in advanced.