Sauter la navigation

[Résolu] update user role using a form

This support ticket is created Il y a 4 années et 4 mois. 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)

Ce sujet contient 0 réponse, a 1 voix.

Dernière mise à jour par Puntorosso Il y a 4 années et 4 mois.

Assisté par: Jamal.

Auteur
Publications
#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?