Saltar navegación

[Resuelto] update user role using a form

This support ticket is created hace 4 años, 3 meses. 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)

Este tema contiene 0 respuestas, tiene 1 mensaje.

Última actualización por Puntorosso hace 4 años, 3 meses.

Asistido por: Jamal.

Autor
Mensajes
#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?