if.user_cannot

/ Conditionals / if.user_cannot

Whether a user dont have capability or role

 

Syntax –

[if.user_cannot]

…….code //it uses current user object implicitly

[/if.user_cannot]

 

Eg:

 

 

Categories
Most Popular

Leave a Reply

Your email address will not be published. Required fields are marked *