Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t 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.

WordPress Advanced 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.


  • Aug 07, 2014
  • Fixes errors on activation on WP3.9.2
  • original plugin.php updated


  • May 27, 2014
  • Fixes errors on activation on WP3.9+


  • July 21, 2013
  • Fixes an issue in the modified plugin.php file where if the $the_['function'] variable is a Closure, a fatal error occurs.


  • December 31, 2010
  • Fixes an issue in the modified plugin.php file where if the $time_fired variable isn't set, a non-critical error occurs (logged in PHP error log file). Props Paul Gibbs


  • July 28, 2010
  • Fixed a crucial bug with the modified plugin.php file that resulted in some important WordPress action hooks not firing
  • Bumped required WordPress version to 3.0 as there are important differences between the /wp-includes/plugin.php files of WP 2.9.2 and WP 3.0
  • Added the constant WP_HOOK_SNIFF_PLUGIN_API_VER to use as a check to make sure that the proper version of the modified plugin.php is installed
  • Added a WordPress version check to make sure that WP Hook Sniffer is installed on the proper version of WordPress, if not plugin will install but not run. A warning message will be displayed in the Plugins directory
  • Added a CSS file to improve proper code separation
  • Renamed CSS selectors to make them unique to plugin
  • Added functions that will automatically install the modified plugin.php file upon plugin activation and then reinstall the original, stock WP version of the /wp-includes/plugin.php file upon plugin deactivation.
  • Generated a new .pot file as new translatable strings were added to the plugin


  • July 8, 2010
  • Fixed an issue when using WP Hook Sniffer with WP 3.0. The function apply_filters_ref_array() was added to plugin.php in version WP 3.0. This function is now included in the distributed, modified plugin.php file as well.
  • Added action and filter hook sniffing functionality to the functions apply_filters_ref_array() and do_action_ref_array()


  • May 3, 2010
  • Added wp_hook_sniff_init_event action hook to allow functions that are dependent on the WP Hook Sniffer to hook into it in a safe manner
  • Added a function to load the language file for Internationalization support
  • Added a .pot file (located in the /languages directory) containing the plugin text that can be translated
  • Corrected my boneheaded mistake where I submitted the plugin with the wrong name resulting in the actual plugin residing in a directory in the download file.
  • Per above comment, the official plugin directory name has been changed to "wordpress-hook-sniffer" from "wp-hook-sniffer".


  • April 30, 2010
  • Added link to the WordPress Hook Sniffer official support forum hosted on BuddyPress.org


  • April 29, 2010
  • Initial release

Requires: WP 3.0 or higher
Compatible up to: WP 3.9.2
Last Updated: 2 years ago
Active Installs: 10+


2.3 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.