WordPress action hook
qm/stop
Fired by 11 WordPress plugins, running on 100K+ sites between them.
“Query Monitor profiling”
How to use qm/stop
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( 'qm/stop', function( $arg1 ) {
// Your code runs here.
}, 10, 1 );Argument names come from Zu Media's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
11 plugins that fire qm/stop
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Orphans50,000+ installs
do_action( 'qm/stop', 'orphans_indicator_options' )etc/options.php:433 -
NotificationX30,000+ installs
do_action( 'qm/stop', __METHOD__ )includes/Extensions/GlobalFields.php:2442 -
Product Table & List Builder for WooCommerce10,000+ installs
do_action( 'qm/stop', 'product table id: ' . $atts['id'] )main.php:3793 -
CM Tooltip Glossary7,000+ installs
do_action( 'qm/stop', 'cmtt_index_getting_terms' )glossaryIndex.php:1100 -
Vimeotheque2,000+ installs
do_action( 'qm/stop', 'Vimeotheque Lite' )main.php:48 -
AnWP Football Leagues600+ installs
do_action( 'qm/stop', $label )includes/class-anwpfl-template.php:298 -
Taxonomy/Term and Role-based Discounts for WooCommerce200+ installs
do_action( 'qm/stop', 'WC_Taxonomy_Discounts_Webdados::get_discount_rules' )includes/class-wc-taxonomy-discounts-webdados.php:523 -
Bottle100+ installs
do_action( 'qm/stop', 'tail' )admin/bottle-admin-utils.php:340 -
DataPress (Dataverse Integration)80+ installs
do_action( 'qm/stop', 'icds/init' )integration-cds.php:140 -
Zu MediaFewer than 10 installs
do_action( 'qm/stop', $this->get_profile_timer($context) )zukit/traits/logging.php:122 -
Zu ContactFewer than 10 installs
do_action( 'qm/stop', $this->get_profile_timer($context) )zukit/traits/logging.php:122
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.