Is there a way to build simple logic in shortcode?
-
Is there a way to build a simple logic in shorcode?
Something like
[content_control roles=”administrator” and roles<>”editor”]WHat I need, if user has 2 roles – do not show content.
If user has only 1 role – show it.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Is there a way to build simple logic in shortcode?’ is closed to new replies.