Plugin info

Total downloads: 1,114
Active installs: 20
Total reviews: 1
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 3
Last updated: 5/1/2024 (609 days ago)
Added to WordPress: 1/10/2023 (2 years old)
Minimum WordPress version: 6.0
Tested up to WordPress version: 6.5.7
Minimum PHP version: 8.0

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 609 days ago • 1 reviews

28/100

Is Biscotti abandoned?

Possibly abandoned (last update 609 days ago).

Compatibility

Requires WordPress: 6.0
Tested up to: 6.5.7
Requires PHP: 8.0

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Cookie Notice & Compliance for GDPR / CCPA
Rating 4.8/5 (3,019 reviews)Active installs 1,000,000
WP Consent API
Rating 5.0/5 (1 reviews)Active installs 200,000
Adapta RGPD
Rating 4.8/5 (105 reviews)Active installs 40,000
Asesor de Cookies RGPD para normativa europea
Rating 3.9/5 (59 reviews)Active installs 30,000
Cookies for Comments
Rating 4.9/5 (18 reviews)Active installs 20,000

Description

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

 — The ID of the user. 

biscotti set

This command sets the logged in session cookie expiration of a user.

Options

 — ID of the user.

 — New expiration duration. It must be one of the following values: `'3 months'`, `'6 months'`, `'1 year'`

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.

Installation

To install this plugin, drop biscotti.php into your site’s wp-content/plugins directory and activate it.

Frequently Asked Questions

How do I work this thing?

Once the plugin has been activated, a new option will be available in the WordPress dashboard under “User -> Profile” called “Login Cookie Expiration”. There, you can select the cookie expiration date of 3 months, 6 months, or 1 year on a per-account basis.

After updating this setting, you will need to log out and back into WordPress for your new cookie expiration value to take effect.

Enjoy your long cookie!

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

2.1.0

Added WP-CLI command. Bumped required PHP version to 8.0.

2.0.3

@webaware has decided to help make this code less awful and submitted a pull request on GitHub. This release implements their improvements.

2.0.2

Sanitize. Not escape. Ack!

2.0.1

Forgot to escape the lone $_POST in my code. Feel dumb about it. Fixed now tho.

2.0.0

Rewrite! Now, instead of forcing everyone to use the same login cookie expiration, Biscotti allows users to individually select their login cookie expiration on their profile page.

1.0.0

Initial release. Simple plugin that forced login cookie expiration for every user to 1 year.