PHPackages                             innocode-digital/wp-flush-cache - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. innocode-digital/wp-flush-cache

ActiveWordpress-muplugin[Caching](/categories/caching)

innocode-digital/wp-flush-cache
===============================

Helps to flush different types of cache.

2.3.1(5y ago)112.1k12GPL-2.0+PHPPHP &gt;=7.1

Since Dec 22Pushed 5y ago10 watchersCompare

[ Source](https://github.com/innocode-digital/wp-flush-cache)[ Packagist](https://packagist.org/packages/innocode-digital/wp-flush-cache)[ RSS](/packages/innocode-digital-wp-flush-cache/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (11)Used By (2)

Flush Cache Buttons
===================

[](#flush-cache-buttons)

### Description

[](#description)

Helps to flush different types of cache.

### Install

[](#install)

- Preferable way is to use [Composer](https://getcomposer.org/):

    ```
    composer require innocode-digital/wp-flush-cache

    ```

    By default, it will be installed as [Must Use Plugin](https://codex.wordpress.org/Must_Use_Plugins). It's possible to control with `extra.installer-paths` in `composer.json`.
- Alternate way is to clone this repo to `wp-content/mu-plugins/` or `wp-content/plugins/`:

    ```
    cd wp-content/plugins/
    git clone git@github.com:innocode-digital/wp-flush-cache.git
    cd wp-flush-cache/
    composer install

    ```

If plugin was installed as regular plugin then activate **Flush Cache Buttons** from Plugins page or [WP-CLI](https://make.wordpress.org/cli/handbook/): `wp plugin activate wp-flush-cache`.

### Usage

[](#usage)

From the box this plugin adds possibility to flush object cache in case when site uses [Persistent Caching](https://developer.wordpress.org/reference/classes/wp_object_cache/#persistent-caching), if not, then [Transients](https://developer.wordpress.org/apis/handbook/transients/).

#### Notes

[](#notes)

In [Network](https://wordpress.org/support/article/create-a-network/) global caches could be flushed from network admin area and individual from each site admin area. Also, it's possible to flush individual cache from sites list in network admin area.

### Documentation

[](#documentation)

Adds flush button with a callback to site admin area: `/wp-admin/tools.php?page=innocode_cache-control`(**Tools** -&gt; **Cache**).

```
flush_cache_add_button( string $title, callable $callback, string $description = '' );

```

---

Adds flush button with a callback to network admin area: `/wp-admin/network/admin.php?page=innocode_cache-control`.

```
flush_cache_add_network_button( string $title, callable $callback, string $description = '' );

```

---

Adds action link with a callback to network admin area to the sites list: `/wp-admin/network/sites.php`.

```
flush_cache_add_sites_action_link( string $title, callable $callback, string $description = '' );

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

9

Last Release

1965d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5b52f801a1cdb5f6622a9e49f4359717b1808ca23e948a243eae225f55e2c7eb?d=identicon)[smfb-dinamo](/maintainers/smfb-dinamo)

---

Top Contributors

[![kuliebiakin](https://avatars.githubusercontent.com/u/6066592?v=4)](https://github.com/kuliebiakin "kuliebiakin (11 commits)")

---

Tags

wordpresscacheplugins

### Embed Badge

![Health badge](/badges/innocode-digital-wp-flush-cache/health.svg)

```
[![Health](https://phpackages.com/badges/innocode-digital-wp-flush-cache/health.svg)](https://phpackages.com/packages/innocode-digital-wp-flush-cache)
```

###  Alternatives

[wp-media/wp-rocket

Performance optimization plugin for WordPress

7431.3M3](/packages/wp-media-wp-rocket)[rtcamp/nginx-helper

Cleans nginx's fastcgi/proxy cache or redis-cache whenever a post is edited/published. Also provides cloudflare edge cache purging with Cache-Tags.

23517.0k1](/packages/rtcamp-nginx-helper)[rarst/fragment-cache

WordPress plugin for partial and async caching of heavy front-end elements.

14115.0k2](/packages/rarst-fragment-cache)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
