dev-master
9999999-dev
GPL-2.0
The Requires
- php >=5.5.0
- composer/installers ~1.0
by Oleksandr Strikha
wordpress cache plugins
Helps to flush different types of cache., (*1)
Preferable way is to use Composer:, (*2)
composer require innocode-digital/wp-flush-cache
By default, it will be installed as Must Use Plugin.
It's possible to control with extra.installer-paths
in composer.json
., (*3)
Alternate way is to clone this repo to wp-content/mu-plugins/
or wp-content/plugins/
:, (*4)
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: wp plugin activate wp-flush-cache
., (*5)
From the box this plugin adds possibility to flush object cache in case when site uses Persistent Caching, if not, then Transients., (*6)
In 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., (*7)
Adds flush button with a callback to site admin area: /wp-admin/tools.php?page=innocode_cache-control
(Tools -> Cache)., (*8)
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
., (*9)
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
., (*10)
flush_cache_add_sites_action_link( string $title, callable $callback, string $description = '' );
GPL-2.0
wordpress cache plugins