Navigation überspringen

[Gelöst] update user role using a form

This support ticket is created vor 4 Jahren, 3 Monaten. There's a good chance that you are reading advice that it now obsolete.
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: Africa/Casablanca (GMT+01:00)

Dieses Thema enthält 0 Antworten, hat 1 Stimme.

Zuletzt aktualisiert von Puntorosso vor 4 Jahren, 3 Monaten.

Assistiert von: Jamal.

Author
Artikel
#1907535

ee use the same Form to add new WP users with the roles "buyer" and "seller".
We added a generic selector with the 2 options and a PHP function to change after cred_save_data the user role.

When using the [toolset-edit-user-link] shortcode, is it possible to add an url parameter with the user role so that can be also updated in the user edit form?