if.logged_in

/ Conditionals / if.logged_in

If current user is wp logged in then executes

Syntax –

[if.logged_in]


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

[/if.logged_in]

Example:

Categories
Most Popular

Leave a Reply

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