plugin-icon

Protected Posts Logout Button

Door Nate Reist·
Automatically adds a logout button to your password protected content.
Waardering
4.9/5
Versie
1.4.6
Actieve installaties
1K
Laatst bijgewerkt
Feb 16, 2023

This plugin simply adds a logout button to the content of any password protected post. Sometimes clients want a password protected page to share information with privileged individuals and the default 10 days for the cookie to expire is too long for their liking. So I wrote a little plugin to do this with AJAX and set the cookie to expire immediately, well actually 10 days in the past.

  • Works logged in or out as a WordPress user.
  • Uses the same functionality WordPress uses to set post cookies.
  • Has a simple settings page to make everything easier.
  • Allows you to alert user they have logged out.
Gratisop Business abonnement
Door te installeren, ga je akkoord met de Servicevoorwaarden van WordPress.com en de voorwaarden voor plugins van derden.
Getest tot
WordPress 6.1.9
Deze plugin kan worden gedownload, zodat je hem op je kan gebruiken.