plugin-icon

Protected Posts Logout Button

作者:Nate Reist·
Automatically adds a logout button to your password protected content.
评级
4.9/5
版本
1.4.6
活跃安装
1K
最后更新
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.
免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 6.1.9
这个插件是可用的下载,适用于您的站点。