users – WordPress 5.8 – Hide or Remove personal fields from admin Profile page

Question

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.

0
Sukinoz 4 weeks 2021-11-07T07:48:31-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse