if.user_can

/ Conditionals / if.user_can

Whether a user has capability or role

Syntax –

[if.user_can]


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

[/if.user_can]

Example:

Categories
Most Popular

Leave a Reply

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