[WordPress] 外掛分享: Valz Display Query Filters

首頁外掛目錄 › Valz Display Query Filters
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
全新外掛
安裝啟用
尚無評分
4961 天前
最後更新
問題解決
WordPress 3.0.0+ v0.1 上架:2012-08-16

內容簡介

這個外掛一旦啟用,會呈現每次資料庫查詢所使用的篩選器傳遞的資訊,作為學習工具。

這段程式碼本身有詳細的文件註解,並示範了如何使用這些篩選器和動作來查看/操作查詢的最佳實踐。

非常重要的是,這個外掛不適用於生產環境,因為它會在整個頁面中插入很多非常醜陋的 HTML。您可以通過查看它的程式碼,也許在沙盒,原始的 WordPress 網站中預覽一兩個頁面來使用此插件。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Valz Display Query Filters」→ 直接安裝(推薦)

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon