The WordPress Hook Sniffer plugin is a tool for plugin developers that helps determine the sequence in which action and filter functions are fired.
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.
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 callsRemoved Functions:
a listing of, in the order in which they were encountered during code execution, all remove_action calls and remove_filter callsAction 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 functionsAction Event Firing Order:
a sequential listing of all the do_action events that need to be processedAction 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)
This plugin is to be used only in a development sandbox and not in a production environment.
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.
Requires: WP 3.0 or higher
Compatible up to: WP 3.9.2
Last Updated: 2014-8-8
1 of 2 support threads in the last two months have been resolved.
Got something to say? Need help?