WordPress.org

Ready to get started?Download WordPress

Plugin Directory

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

0.15

  • 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

0.14

  • 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

0.13

  • 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()

0.12

  • 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".

0.11

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

0.1

  • April 29, 2010
  • Initial release

Requires: WP 3.0 or higher
Compatible up to: WP 3.0.4
Last Updated: 2010-12-31
Downloads: 4,186

Ratings

4 stars
4.8 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
1 person says it's broken.

100,1,1
0,1,0
100,1,1
100,1,1
100,1,1
50,2,1
100,2,2
100,1,1
100,2,2
100,1,1
100,2,2
0,1,0