Navigation überspringen

[Gelöst] Control standard user fields

This support ticket is created vor 5 Jahren. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Dieses Thema enthält 3 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Luo Yang vor 5 Jahren.

Assistiert von: Luo Yang.

Author
Artikel
#1583535

Hi,
is it possible to control the standard user fields with Toolset?

I would like to clean up the User profile page in backend area and leave only some specific fields, username and password.

Thanks

#1583743

Hello,

There isn't such kind of built-in feature within Toolset, as a woraround, you can disable the WordPress profile using custom PHP codes, for example:
https://wordpress.stackexchange.com/questions/29000/disallow-user-from-editing-their-own-profile-information#answer-323264

Then setup a Toolset user form for editing user, with only one fields: password. (WordPress does not support editing username by default)
Display above user form in a WordPress page, use this page as user's profile page.

#1583747

But in this case, it would be a front-end page, not in back -end, right?

#1583777

Yes, you are right, the Toolset Forms works in front-end, it won't work as expected in admin side.

And there isn't exsisted hooks for changing the standard user fields of Profile page easily, you can check it in WordPress core file "wp-admin\user-edit.php":
versteckter Link

And I have searched it in google, found some related posts, for example:
versteckter Link

For your reference.