WordPress Hook Sniffer

The WordPress Hook Sniffer plugin is a tool for plugin developers that helps determine the sequence in which action and filter functions are fired.

Author:Jeff Sayre, Mirco Babini (profile at wordpress.org)
WordPress version required:WP 3.0
WordPress version tested:WP 3.9.2
Plugin version:0.18
Added to WordPress repository:25-12-2013
Last updated:08-08-2014
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:54
Rated by:7
Plugin URI:http://www.mircobabini.com/wordpress/hook-sni...
Total downloads:1 841
Active installs:10+
plugin download
Click to start download

The WordPress Hook Sniffer plugin is a tool for plugin developers that helps determine the sequence in which action and filter functions are fired. It allows you to peer into the inner workings of the WordPress Plugin API. You can configure what is outputted and to where the output is sent (screen or text file).

Since it's not supported anymore from the original author, it's now maintained by Mirco Babini, WordPress Consultant, Web Developer and Data Lover.

Output Options

You can choose to output any or all of the six different sets of hook data that WordPress Hook Sniffer collects. Each dataset provides a unique insight into the underlying working of WordPress' hooks. The currently available datasets are:

Added Functions:

a listing of, in the order in which they were encountered during code execution, all add_action calls and add_filter calls

Removed Functions:

a listing of, in the order in which they were encountered during code execution, all remove_action calls and remove_filter calls

Action and Filter Function Array:

output the array that holds all of the added action and filter functions used by the do_action and apply_filters functions

Action Event Firing Order:

a sequential listing of all the do_action events that need to be processed

Action Event Firing Sequence:

a sequential listing of do_action events and their corresponding fired action function(s)

Filter Event Firing Sequence:

a sequential listing of apply_filters events with their corresponding fired filter function(s)

WARNING:

This plugin is to be used only in a development sandbox and not in a production environment.

Disclaimer

This plugin is provided "as is." It is free software licensed under the terms of the [GNU General Public License 3.0 (GPL)] (http://www.gnu.org/licenses/gpl.html "GNU General Public License 3.0"). It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I am not liable for any damages or losses. Your only recourse is to stop using this plugin.