plugin-icon

Biscotti

제작자: Jason Cosper·
Biscotti makes your user's login cookie a little bit longer.
평가
5
버전
3.0.0
활성화된 설치 항목
10
최근 업데이트일
May 16, 2026
Biscotti

Biscotti is a plugin that modifies the expiration of the logged in user cookie in WordPress. Choose from the default WordPress expiration (14 days), three months (90 days), six months (180 days), or one year (365 days). Because some people hate to have to keep entering their passwords.

Features

  • Per-user cookie expiration settings
  • Four expiration options: default, 3 months, 6 months, 1 year
  • WP-CLI support for managing settings programmatically
  • Fully translatable with i18n support
  • Secure implementation with CSRF protection
  • Clean uninstall that removes all plugin data

Security

Version 3.0.0 includes critical security improvements: * CSRF protection with nonce verification * Input validation with whitelist checking * Strict type comparisons throughout * Modern PHP 8.0+ type hints

Requirements

  • WordPress 6.0 or higher
  • PHP 8.0 or higher

WP-CLI Commands

As of version 2.1.0, Biscotti includes WP-CLI commands for managing a user’s logged in session cookie expiration.

Get a user’s cookie expiration

wp biscotti get <user_id>

Retrieves the current cookie expiration setting for a user.

Example: wp biscotti get 123

Set a user’s cookie expiration

wp biscotti set <user_id> <expiration>

Sets the logged in session cookie expiration for a user.

Parameters: * <user_id> — The ID of the user * <expiration> — One of: default, 3 months, 6 months, 1 year

Examples: * Set to 1 year: wp biscotti set 123 '1 year' * Reset to default: wp biscotti set 123 default

무료유료 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 7.0
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.