WordPress action hook
qm/cease
Fired by 7 WordPress plugins, running on 523K+ sites between them.
How to use qm/cease
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( 'qm/cease', function() {
// Your code runs here.
}, 10, 1 );Argument names come from Query Monitor's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
7 plugins that fire qm/cease
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Query Monitor200,000+ installs
do_action( 'qm/cease' )classes/Collectors.php:79 -
User Switching200,000+ installs
do_action( 'qm/cease' )user-switching.php:228 -
Asset CleanUp: Page Speed Booster100,000+ installs
do_action( 'qm/cease' )classes/OptimiseAssets/FontPreloadScannerEarly.php:119 -
Uncanny Toolkit for LearnDash20,000+ installs
do_action( 'qm/cease' )src/includes/user-switching.php:227 -
Groundhogg2,000+ installs
do_action( 'qm/cease' )includes/plugin-compatibility.php:68 -
AnWP Football Leagues600+ installs
do_action( 'qm/cease' )includes/class-anwpfl-toolbox.php:76 -
GoDAM100+ installs
do_action( 'qm/cease' )inc/templates/render-video-editor-form-layer.php:17
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.