WordPress Hook Sniffer - Rating, Reviews, Demo & Download

WordPress Hook Sniffer Preview - Rating, Reviews, Demo & Download
3.5 Average out of 4 ratings
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

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).

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.

Screenshots

  1. wordpress-hook-sniffer screenshot 1

    This is a view of the WordPress Hook Sniffer plugin’s administration settings screen. Notice the six output options that can be selected in the Output Options section.

  2. wordpress-hook-sniffer screenshot 2

    Here is some sample output showing the Action Event Firing Order.

  3. wordpress-hook-sniffer screenshot 3

    Here is some sample output showing the Action Event Firing Sequence.


Reviews & Comments