WordPress action hook

kinsta_cache_purge_all

Fired by 10 WordPress plugins, running on 2,250+ sites between them.

How to use kinsta_cache_purge_all

It's an action: your callback runs at that point. Nothing needs to be returned. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_action( 'kinsta_cache_purge_all', function() {
	// Your code runs here.
}, 10, 1 );

Argument names come from Affiliate Sales in Google Analytics and other tools's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

10 plugins that fire kinsta_cache_purge_all

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. Affiliate Sales in Google Analytics and other tools icon Affiliate Sales in Google Analytics and other tools1,000+ installs do_action( 'kinsta_cache_purge_all' ) wecantrack.php:298
  2. Atarim icon Atarim1,000+ installs do_action( 'kinsta_cache_purge_all' ) doit/abilities/class-avcf-abilities-cache.php:442
  3. AutoTill icon AutoTill100+ installs do_action( 'kinsta_cache_purge_all' ) autothink-shopping-agent.php:176
  4. EZY.ai icon EZY.ai100+ installs do_action( 'kinsta_cache_purge_all' ) includes/class-ezy-ai-cache-purger.php:218
  5. Visuaro icon Visuaro30+ installs do_action( 'kinsta_cache_purge_all' ) src/Integrations/Caching/CacheBridges.php:122
  6. Backvera icon Backvera10+ installs do_action( 'kinsta_cache_purge_all' ) includes/class-backvera-cache-flush.php:262
  7. WPHEKA Request For Quote for WooCommerce icon WPHEKA Request For Quote for WooCommerce10+ installs do_action( 'kinsta_cache_purge_all' ) includes/class-wpheka-rfq-cache.php:242
  8. Tepee for HelloAsso icon Tepee for HelloAssoFewer than 10 installs do_action( 'kinsta_cache_purge_all' ) includes/class-tfha-cache.php:103
  9. AI Rank Suite icon AI Rank SuiteFewer than 10 installs do_action( 'kinsta_cache_purge_all' ) src/Support/Cache.php:89
  10. StyleRaise icon StyleRaiseFewer than 10 installs do_action( 'kinsta_cache_purge_all' ) includes/cache/class-purger.php:281

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.