Home › Forums › Quform WordPress › Display form for logged in users only
Hello
Im displaying the form inside the page template file via the plugin code:
<?php if (function_exists('iphorm')) echo iphorm(1); ?>
I need to display this form only to logged in users, for non logged in users, I need to display a message, to log in or register.
I tried using “is_user_logged_in” function but wasnt able to figure it out. Can you help me with the correct semantics please?
How can I achieve this ?
Thanks in advance.
You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
Thank you!