Display form for logged in users only

Home Forums Quform WordPress Display form for logged in users only

This topic is: resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6586
    archie
    Participant

    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.

    #6595
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #6710
    archie
    Participant

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy