=== Transient Cleaner ===
Contributors: snehalpancholi
Tags: performance, transients, database, cleanup, maintenance
Requires at least: 6.0
Tested up to: 6.7
Stable tag: 1.0.0
Requires PHP: 8.1
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html

List and bulk-delete expired (and optionally all) transients from wp_options to keep your database lean.

== Description ==

WordPress uses the options table to store transient data — short-lived cache entries created by themes, plugins, and core. Over time, especially on busy sites, hundreds of expired transients accumulate and bloat the database.

Transient Cleaner gives you a clear view of what's in your transients table and lets you clean it up with one click.

**Features:**

* Dashboard with total, expired, active, and total size counts
* Paginated table listing each transient name, size, expiry time, and status
* "Delete Expired" — safely removes only expired entries
* "Delete All" — full wipe with confirmation prompt (cache rebuilds on next request)
* Uses the WordPress `delete_transient()` API to respect external object caches
* No settings to configure — just visit and clean

== Installation ==

1. Upload `transient-cleaner` to `/wp-content/plugins/`.
2. Activate the plugin.
3. Go to **Tools → Transient Cleaner**.
4. Review the stats and click **Delete Expired** to clean up.

== Frequently Asked Questions ==

= Is it safe to delete all transients? =
Deleting expired transients is always safe. Deleting active transients is also safe — WordPress will rebuild them when pages are next requested — but you may see a temporary slowdown as caches repopulate.

= Does this work with Redis or Memcached? =
The plugin uses `delete_transient()` so it respects any installed object cache driver, including Redis and Memcached.

== Changelog ==

= 1.0.0 =
* Initial release.
