• Hello,

    I would like to add a logout button to my website that allows users to exit the password-protected area.
    Is there a way to do this?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Muhammad

    (@muhammadwpfolio)

    Hi @938htisn,

    Thank you for reaching out!

    Yes, you can definitely add a logout button to let users exit the password-protected area. Please use the following shortcode:

    [ppwp-logout]

    This will display a “Log Out” button that clears the password cookies stored in the user’s browser.

    Our plugin also supports additional attributes (like type, post_ids, label, id, class, etc.) if you want more control over which cookies to remove or how the button looks. You can find the full list of available attributes in our documentation.

    Hope that helps!

Viewing 1 replies (of 1 total)

The topic ‘Logout Button’ is closed to new replies.