Clear Cache After Activate/Deactivate a Plugin

by admin

When you activate or deactivate a plugin, you might ask for the entire cache to be cleared.

In this case, you need to add the following lines to the wp-config.php file because this feature is not automatically activated. You have to activate it manually.

You need to add the following lines after <?php which exists at the top of wp-config.php file.

define("WPFC_CLEAR_CACHE_AFTER_ACTIVATE_DEACTIVATE_PLUGIN", true);

Related articles

Clear Cache via URL
Clear Cache via URL

There are some features which provide you to clear cache via admin panel. You need to have to login into…

Placeholder Image
Clear Cache of All Sites

If you use the MultiSite installation on your wordpress, separate cache is created for each site. When you click on…

How to Cache JSON
How to Cache JSON

WP Fastest Cache automatically excludes the urls with JSON as content type.

Ready to get started?

Purchase your first license and see why 1,500,000+ websites globally around the world trust us.