內容簡介
這個外掛一旦啟用,會呈現每次資料庫查詢所使用的篩選器傳遞的資訊,作為學習工具。
這段程式碼本身有詳細的文件註解,並示範了如何使用這些篩選器和動作來查看/操作查詢的最佳實踐。
非常重要的是,這個外掛不適用於生產環境,因為它會在整個頁面中插入很多非常醜陋的 HTML。您可以通過查看它的程式碼,也許在沙盒,原始的 WordPress 網站中預覽一兩個頁面來使用此插件。
外掛標籤
開發者團隊
原文外掛簡介
This plugin, once activated, spits out the information passed by each filter used in manipulating database queries, as a learning tool.
The code itself is heavily documented and demonstrates best practices for working with those filters and actions to view / manipulate the query.
It is very important to note that this plugin is not meant for a production environment as it will insert a lot of really ugly HTML throughout your page. You’ll get the most use out of this plugin by looking at its code, and maybe previewing one or two pages on a sandbox, vanilla WordPress site.
