
內容簡介
Biscotti 是一款 WordPress 插件,它可以修改已登入使用者的 Cookie 過期時間為三個月、六個月或一年。這樣一來,某些使用者就不需要一直輸入密碼了。
外掛標籤
開發者團隊
原文外掛簡介
Biscotti is a plugin that modifies the expiration of the logged in user cookie in WordPress to three months, six months, or one year. Because some people hate to have to keep entering their passwords.
WP-CLI Commands
As of version 2.1.0, Biscotti includes WP-CLI commands for managing a user’s logged in session cookie expiration.
biscotti get
This command returns the previously defined cookie expiration of a user.
Options
biscotti set
This command sets the logged in session cookie expiration of a user.
Options
Note
Please remember to replace the user_id and expiration placeholders with the actual user ID and desired expiration duration when running either of these commands.
