Suggestion: Clear cache after update

Hi @donatelol,

Thank you for your suggestion. Given that updates don’t always necessitate a complete cache purge, this feature might not be broadly useful. For dashboard updates, you have the convenience of purging the cache directly from the admin bar. But I’ll consider it for future versions of the plugin.

In the meantime, you can achieve that by using the following snippet:


add_action( 'upgrader_process_complete', '\PoweredCache\Utils\powered_cache_flush' );

I hope this helps.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer