內容簡介
Prioritize Hooks 可以讓你優先處理外掛和佈景主題所設定的各種過濾器和動作。
非核心的動作和過濾器列表,會在 Prioritize Hooks 設定頁面中顯示,並可選擇覆蓋任何想要調整的優先順序。
目前,這個外掛只能更改這個回調函數所屬的過濾器或動作的優先級,不能更改過濾器或動作本身。
請注意,在運行 wp_loaded 動作之前,設置的優先順序不會被覆蓋。
如果要停用一個鉤子,請使用連字號(-)作為優先順序。
留空優先順序以重置它。
外掛標籤
開發者團隊
原文外掛簡介
Prioritize Hooks allows the overriding of the priority of various filters and actions hooked by plugins and themes.
A list of non-core actions and filters registered before the admin_init action will be shown in the
Prioritize Hooks settings page, with the option of overriding the priority of any that you should so wish. At the moment,
the hook cannot be changed, just the priority of that callback within its respective hook. Note that priorities will not
be overridden until the wp_loaded action is run. To disabled a hook, use hyphen(-) as the priority.
Leave a priority blank to reset it.
