WordPress action hook
breeze_clear_varnish
Defined by Breeze Cache and fired by 9 plugins in total, running on 432K+ sites between them.
How to use breeze_clear_varnish
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:
add_action( 'breeze_clear_varnish', function() {
// Your code runs here.
}, 10, 1 );Argument names come from Breeze Cache's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
9 plugins that fire breeze_clear_varnish
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Breeze Cache300,000+ installs
do_action( 'breeze_clear_varnish' )inc/breeze-admin.php:1165 -
WP Umbrella: Security Backup Restore & Monitoring90,000+ installs
do_action( 'breeze_clear_varnish' )src/Thirds/Cache/Breeze.php:17 -
Modular DS: Monitor, update, and backup multiple websites40,000+ installs
do_action( 'breeze_clear_varnish' )src/app/Cache/Compatibilities/Breeze.php:18 -
Premium Blocks2,000+ installs
do_action( 'breeze_clear_varnish' )admin/includes/pb-panel/class-pb-panel.php:363 -
GDPR Cache Scripts & Styles100+ installs
do_action( 'breeze_clear_varnish' )includes/admin/actions.php:236 -
PromoTimer10+ installs
do_action( 'breeze_clear_varnish' )1.0.4/1.0.2/includes/class-cleaner.php:138 -
Scheduled Content Block10+ installs
do_action( 'breeze_clear_varnish' )scheduled-content-block.php:527 -
Content RelayFewer than 10 installs
do_action( 'breeze_clear_varnish' )includes/apply/class-page-cache.php:116 -
Celero Adaptive SpeedFewer than 10 installs
do_action( 'breeze_clear_varnish' )includes/class-ctps-hosting.php:88
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.