How to check in timber if user is loggedin?
Question
How to check if there is a user is loggedin? Normaly you do this like:
if ( is_user_logged_in() ) { // do something }
but how you do this within a Timber template? some thing like?:
{% if userloggedin %} //do somthing {% endif %}
0
2 months
0 Answers
15 views
0
Leave an answer
You must login or register to add a new answer .