if.logged_in

/ Conditionals / if.logged_in

Title : if.logged_in
Purpose : If the current user is wp logged-in then it executes the code inside the block
Syntax : [if.logged_in]
—-code—
[/if.logged_in]
Input Parameters : Not required.
Return Value : It does not return anything
Example  :
Code :
Description : In the example, if the current user is logged-in it fetches current user object and dumps the data.
Categories
Most Popular

Leave a Reply

Your email address will not be published.