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:

functions.php
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.

  1. Query Monitor icon Query Monitor200,000+ installs do_action( 'qm/cease' ) classes/Collectors.php:79
  2. User Switching icon User Switching200,000+ installs do_action( 'qm/cease' ) user-switching.php:228
  3. Asset CleanUp: Page Speed Booster icon Asset CleanUp: Page Speed Booster100,000+ installs do_action( 'qm/cease' ) classes/OptimiseAssets/FontPreloadScannerEarly.php:119
  4. Uncanny Toolkit for LearnDash icon Uncanny Toolkit for LearnDash20,000+ installs do_action( 'qm/cease' ) src/includes/user-switching.php:227
  5. Groundhogg icon Groundhogg2,000+ installs do_action( 'qm/cease' ) includes/plugin-compatibility.php:68
  6. AnWP Football Leagues icon AnWP Football Leagues600+ installs do_action( 'qm/cease' ) includes/class-anwpfl-toolbox.php:76
  7. GoDAM icon 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.