What I want to do:
I want to change the profile (backend) layout. Hide and add personal fields.
What I don't want to do:
Use some dirty javascript hacks to remove fields
Adding fields is actually not a problem. I already wrote a plugin for this.
But now I want to hide some default wordpress fields. I've researched a bit into this topic. It seems there are exactly 2 options to hide fields. Either edit user-edit.php
or use JS/jQuery to remove fields.
So.. What about editing user-edit.php
and just replace/edit the file again after wordpress updates? Doesn't sound that wrong. I guess it's not that critical. What do you think? Or is there even a better way to handle this?