
內容簡介
這個 WordPress 插件提供一個順序和視覺化的呈現,顯示 WordPress action 和 filter hooks。這是一款專門針對開發者的工具,如果你是一位開發者,這個插件可能會成為你的救星。
如何使用?
讓我們來問你一個問題!
哪個綁定(hook)會先被觸發?
admin_init
init
有點混淆不清,是嗎?init 會先運行,並在觸發了近 100 個綁定後執行 admin_init。在開發插件之前,我不得不跳到 Google 或 WordPress 手冊中去查找,浪費了我的開發時間,讓我延誤了項目進度。
為了解決這個問題,Another Show Hooks 為你提供一個從網頁屏幕中直觀地呈現的圖形概述。
一些很酷的功能
👉 圖形呈現
👉 統計使用次數
👉 列出所有回調函數和優先順序
👉 獲取核心代碼參考
👉 可拖拽鉤子窗口,方便調試
🔥🔥🔥 專業版功能🔥🔥🔥
*通過前綴搜索鉤子
*使用選擇性用戶角色進行高級調試
*直接從頁面禁用回調函數
*自動化
貢獻 Show Hooks
如果你想為該項目作出貢獻,歡迎加入。完整的源代碼可在 GitHub 上獲取。如果你發現任何問題,請隨時發出錯誤報告或創建一個拉取請求。
起源
我們很自豪地說,該插件的原始基礎是 Simply Show Hooks 的改進版本,因為該插件已經沒有維護了 6 年,並且存在許多兼容性問題。我們加強了代碼安全性,並使其與最新版本的 WordPress 相容。
外掛標籤
開發者團隊
原文外掛簡介
A sequential and visual representation of WordPress action and filter hooks. This is a Developer tool so if you are a developer then it might be a life-saver plugin.
How?
Let’s have a question for you!
Which hook fires first?
admin_init
init
A bit confusing, right? init runs first and after firing almost 100 hooks admin_init runs. Before developing the plugin I had to jump over google or wp handbook which kills my development time and makes my project delayed.
To get rid of this problem, Another Show Hooks present you with a graphical overview right from your web screen.
Some cool features
👉 Graphical Presentation
👉 Count the total number of uses
👉 List out all the callback functions with priority
👉 Get core code reference
👉 Draggable hook window for flexible debugging
🔥🔥🔥 Pro Features🔥🔥🔥
*Hook search with the prefix
*Advanced debugging with selective user roles
*Disable callback function directly from pages
*Automation
Contribute to Show Hooks
If you want to contribute to the project, you’re most welcome to make it happen. The full source code is available on GitHub. If you find anything improbable, feel free to shoot a bug report or create a pull request.
Origin
We are proud the original base of the plugin was a fork of Simply Show Hooks as it has not been maintained for the last 6 years and has lots of compatibility issues. We have improved the code security and made it compatible with the latest WordPress.
