=== AZKA Uncache My Cache === Contributors: jahrard Donate link: https://azka-agency.com Tags: cache, purge, update, maintenance, elementor Requires at least: 5.8 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 2.0.1 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Automatically purges caches after WordPress updates. Supports 13+ cache systems, maintenance alerts, and update visibility control. == Description == **AZKA Uncache My Cache** automatically purges caches after WordPress updates (core, plugins, themes). It detects and supports 13+ popular cache systems, and includes advanced features like maintenance mode alerts and update visibility control. = Supported Cache Systems = * WP Fastest Cache * Elementor (CSS regeneration) * WP Super Cache * W3 Total Cache * LiteSpeed Cache * WP-Optimize * Redis Object Cache * Autoptimize * Breeze (Cloudways) * SG Optimizer (SiteGround) * Hummingbird * Cache Enabler * WordPress Object Cache = Key Features = * **Auto-detection** — Automatically detects installed cache plugins and purges them after updates. * **Admin settings page** — Full control over which caches to purge, when, and how. * **Manual purge** — One-click purge button in the admin panel. * **Purge history** — View the last 20 purge events with details. * **Maintenance alerts** — Receive an email alert if your site stays in maintenance mode too long. * **Update visibility** — Hide update notifications for non-designated administrators. * **PHP notice control** — Hide the PHP version warning on the dashboard. * **Designated admins** — Choose which administrators receive alerts and see update notifications. * **Extensible** — Custom hooks for developers to register their own cache handlers. This plugin is not affiliated with Elementor, WP Fastest Cache, or any other cache plugin. == Installation == 1. Upload the plugin to `/wp-content/plugins/` or install it via the WordPress plugin screen. 2. Activate it through the 'Plugins' menu. 3. Go to **Settings > Uncache My Cache** to configure. == Frequently Asked Questions == = Does the plugin break if a cache plugin is not installed? = No. All cache calls are conditional — the plugin only purges caches that are detected as active. = Can I choose which caches to purge? = Yes. By default, auto-detection is enabled and all available caches are purged. You can disable auto-detection and select specific cache systems in the settings. = How does the maintenance alert work? = When WordPress enters maintenance mode (during updates), a `.maintenance` file is created. If this file persists longer than the configured delay (default: 5 minutes), an email alert is sent to the designated administrators. = What are designated administrators? = You can select one or more administrators who will receive maintenance alerts and be the only ones to see available updates. Other administrators will not see update notifications. = Can I add support for a custom cache system? = Yes. Use the `azka_umc_register_handler` action hook to register your own handler implementing the `Cache_Handler` interface. == Changelog == = 2.0.1 = * Bulk update optimization: cache is purged only once at the end of bulk updates instead of after each individual update. = 2.0.0 = * Major rewrite with modular architecture. * Added support for 13 cache systems (up from 2). * New admin settings page with full configuration options. * Added manual purge button and purge history log. * Added designated administrators feature. * Added maintenance mode email alerts. * Added update visibility control for non-designated admins. * Added PHP version notice suppression. * Improved security: nonces, capability checks, input sanitization, output escaping. * Added custom hooks for extensibility. * Full internationalization (i18n) support. = 1.3.0 = * Added automatic_updates_complete hook for cache purge after automatic updates. * Refactored purge logic into a centralized private method. = 1.2.1 = * Initial release on WordPress.org. == Upgrade Notice == = 2.0.1 = Bulk updates now trigger a single cache purge instead of one per plugin — much faster. = 2.0.0 = Major upgrade with 13+ cache system support, admin UI, maintenance alerts, and more. Settings will default to auto-detect mode — existing behavior is preserved automatically.