這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.

Important

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.