该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Debug Bar Actions and Filters Addon

描述

This plugin adds two more tabs in the Debug Bar to display hooks(Actions and Filters) attached to the current request. Actions tab displays the actions hooked to current request. Filters tab displays the filter tags along with the functions attached to it with respective priority.

重要

This plugin requires the Debug Bar plugin to be installed and activated.

Also note that this plugin should be used solely for debugging and/or in a development environment and is not intended for use on a production site.

If you like this plugin, please rate and/or review it. If you have ideas on how to make the plugin even better or if you have found any bugs, please report these in the Support Forum or in the GitHub repository.

屏幕截图

  • Debug Bar displaying Actions
  • Debug Bar displaying Filters

安装

  1. Install Debug Bar if not already installed (https://wordpress.org/plugins/debug-bar/)
  2. Extract the .zip file for this plugin and upload its contents to the /wp-content/plugins/ directory. Alternatively, you can install directly from the Plugin directory within your WordPress Install.
  3. Activate the plugin through the “Plugins” menu in WordPress.

Note:
Debug Bar plugin must be installed prior to this.

Don’t use this on Live/Production site. This is only for development purpose.

常见问题

Can it be used on live site ?

This plugin is only meant to be used for development purposes, but shouldn’t cause any issues if run on a production site.

评价

2021 年 6 月 9 日
Fantastic plugin, just what I needed to see what actions and filters to hook! And in what order/sequence they were being fired. Works with WordPress 5.7.2 which is the version I am using.
阅读所有8条评价

贡献者及开发者

“Debug Bar Actions and Filters Addon” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Debug Bar Actions and Filters Addon」插件已被翻译至 3 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Debug Bar Actions and Filters Addon”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.5.5

  • Bugfix: Fatal error due to invokable objects #22 . Thank you @eimanavicius for #20
  • License with GPLv2 (or later) #23 . Thank you @nextgenthemes
  • Confirm WP 6.0 compatibility

1.5.4

  • Improve the travis build #22

1.5.3

  • README: Add “Requires PHP” header
  • Confirm WP 4.8.1 compatibility

1.5.2

  • Fix compatibility with WP 4.7
  • Add the plugin to recently_active plugins list if self-deactivating
  • Defer to the wp-content/languages directory for the loading of translations
  • Update all wordpress.org URLs to use https
  • Defer to translation retrieved from GlotPress, leaner language loading and language loading now compatible with use of the plugin in the must-use plugins directory

1.5.1

  • Leaner language loading
  • Fix some layout issues

1.5

  • Show total hooks run at the top of the action hooks panel
  • Show various totals at the top of the filters panel
  • Change layout of the filters panel to a table to make it more compact
  • Show the filters sorted alphabetically
  • Allow for localization of the plugin
  • Fix compatibility with the Plugin Dependencies plugin
  • Add parent plugin requirement check.

1.4.1

  • Bugfix: Make sure the plugin will not give a parse error on PHP < 5.3 for Closure check

1.4

  • Bugfix: callbacks given as array were no longer showing
  • Enhancement: clear distinction between object method calls and static class calls

1.3

  • Fixed HTML Validation error: “Saw U+0000 in stream.”
  • Moved css to separate file

1.2

  • Fix for a closure issue.

1.1

  • Fix for a fatal error because of BuddyPress hooks
  • Closed the ul tag.

1.0

Adding the initial plugin to WordPress plugins directory.