Skip Navigation

[Gelöst] condition on role not working anymore

This support ticket is created vor 3 Jahre, 4 Monate. 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+00:00)

This topic contains 0 Antworten, has 1 Stimme.

Last updated by nabils vor 3 Jahre, 4 Monate.

Assisted by: Jamal.

Author
Artikel
#1831083

I have added a condition in a post form.
( '[wpv-current-user info="role"]' eq 'enginvadminapproval' )
For now it is working fine when the user have only one role. However, it is not working if the user have two roles "enginvadminapproval" role and other. How to modify the condition to include any user with "enginvadminapproval" and at the same time have other role.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.