WordPress action hook
cachify_flush_cache
Fired by 40 WordPress plugins, running on 1.5M+ sites between them.
How to use cachify_flush_cache
It's an action: your callback runs at that point and receives 1 argument. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'cachify_flush_cache', function( $page_id ) {
// Your code runs here.
}, 10, 1 );Argument names come from ConveyThis AI Multilingual Translation's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
40 plugins that fire cachify_flush_cache
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Autoptimize800,000+ installs
do_action( 'cachify_flush_cache' )classes/autoptimizeCache.php:785 -
CMP200,000+ installs
do_action( 'cachify_flush_cache' )niteo-cmp.php:2792 -
Statify100,000+ installs
do_action( 'cachify_flush_cache' )inc/class-statify-settings.php:401 -
Disable Admin Notices100,000+ installs
do_action( 'cachify_flush_cache' )libs/factory/templates/includes/class-helpers.php:233 -
Robin Image Optimizer100,000+ installs
do_action( 'cachify_flush_cache' )includes/functions.php:1405 -
Woody Code Snippets50,000+ installs
do_action( 'cachify_flush_cache' )includes/class.helpers.php:704 -
Clearfy Cache40,000+ installs
do_action( 'cachify_flush_cache' )components/disable-admin-notices/libs/factory/templates/includes/class-helpers.php:233 -
Cyrlitera40,000+ installs
do_action( 'cachify_flush_cache' )libs/factory/templates/includes/class-helpers.php:233 -
Slim Maintenance Mode10,000+ installs
do_action( 'cachify_flush_cache' )slim-maintenance-mode.php:37 -
Social Slider Feed10,000+ installs
do_action( 'cachify_flush_cache' )libs/factory/templates/includes/class-helpers.php:233 -
Professional Social Sharing Buttons, Icons & Related Posts10,000+ installs
do_action( 'cachify_flush_cache' )utilities.php:1541 -
Disable Comments & Delete All Comments9,000+ installs
do_action( 'cachify_flush_cache' )libs/factory/templates/includes/class-helpers.php:233 -
Disable Updates8,000+ installs
do_action( 'cachify_flush_cache' )libs/factory/templates/includes/class-helpers.php:233 -
Themify Builder6,000+ installs
do_action( 'cachify_flush_cache' )themify/cache/class-themify-cache.php:934 -
Vigilant4,000+ installs
do_action( 'cachify_flush_cache' )includes/class-under-attack.php:924 -
WP Delicious4,000+ installs
do_action( 'cachify_flush_cache' )src/Functions/HelperFunctions.php:407 -
FAZ Cookie Manager3,000+ installs
do_action( 'cachify_flush_cache' )admin/modules/cache/services/class-cachify.php:59 -
Local Google Analytics for WordPress3,000+ installs
do_action( 'cachify_flush_cache' )libs/factory/templates/includes/class-helpers.php:233 -
ConveyThis AI Multilingual Translation1,000+ installs
do_action( 'cachify_flush_cache', $page_id )app/class/ConveyThisCache.php:74 -
Assets manager, dequeue scripts, dequeue styles for WordPress1,000+ installs
do_action( 'cachify_flush_cache' )libs/factory/templates/includes/class-helpers.php:233 -
Clear Cache Everywhere1,000+ installs
do_action( 'cachify_flush_cache' )inc/clear-cache.php:1080 -
The Cache Purger1,000+ installs
do_action( 'cachify_flush_cache' )work/inc/modules/plugin.php:328 -
Рекламная платформа Native Rent300+ installs
do_action( 'cachify_flush_cache' )inc/Admin/SiteCache.php:151 -
CSS Minify200+ installs
do_action( 'cachify_flush_cache' )classlesses/bpminifycssPageCacheFlush.php:14 -
AutoTill100+ installs
do_action( 'cachify_flush_cache' )autothink-shopping-agent.php:164 -
EZY.ai100+ installs
do_action( 'cachify_flush_cache' )includes/class-ezy-ai-cache-purger.php:197 -
Mornolink for WHMCS70+ installs
do_action( 'cachify_flush_cache' )includes/class-whmcs-price-helpers.php:60 -
Backvera10+ installs
do_action( 'cachify_flush_cache' )includes/class-backvera-cache-flush.php:253 -
SimpliRoot10+ installs
do_action( 'cachify_flush_cache' )includes/cache-purge.php:79 -
1Platform Content AI10+ installs
do_action( 'cachify_flush_cache' )includes/admin/apps/panels/TocSettingsPanel.php:326 -
AIO Performance Profiler, Monitor, Optimize, Compress & Debug10+ installs
do_action( 'cachify_flush_cache' )combine/enhancerCache.php:772 -
Advanced WPPerformance10+ installs
do_action( 'cachify_flush_cache' )Classes/class-http2push.php:204 -
Translate WordPress Without Yearly FeesFewer than 10 installs
do_action( 'cachify_flush_cache' )incode-translate-master.php:341 -
Naklov SEOFewer than 10 installs
do_action( 'cachify_flush_cache' )naklovadmin.php:1523 -
6Arshid Social CommunityFewer than 10 installs
do_action( 'cachify_flush_cache' )includes/class-cache-purge.php:129 -
BackupBridgeFewer than 10 installs
do_action( 'cachify_flush_cache' )includes/Utils/class-cache.php:32 -
Target Media ToolkitFewer than 10 installs
do_action( 'cachify_flush_cache' )includes/helpers.php:37 -
Siternet Website MigrationFewer than 10 installs
do_action( 'cachify_flush_cache' )includes/class-url-guard.php:195 -
BroodChat AIFewer than 10 installs
do_action( 'cachify_flush_cache' )broodchat-ai.php:78 -
Baskerville AI SecurityFewer than 10 installs
do_action( 'cachify_flush_cache' )admin/class-baskerville-admin.php:6083
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.