
內容簡介
此外掛可自動調整 W3 Total Cache 設定
當您有使用者不具有 W3 Total Cache 控制權限但需要清除快取時,此外掛非常有用。
當您為客戶創建網誌時,此外掛可以自動清除快取,而客戶甚至不會知道它的存在。
對於 Multisite 安裝而言,如果允許不受信任的使用者創建網誌,此外掛會非常好用。
此外掛的功能:
前端:
不再輸出 HTML 輸出中的 W3 Total Cache 註解
背景:
無論何時進行以下操作,即可進行快取清除:
更新文章
更改主題
更新或從位置更改小工具
更新側邊欄
在自訂設定中編輯主題
更新導覽選單
對於非超級管理員的 Multisite:
不再出現以下項目:
在網頁和文章編輯畫面上的清除快取按鈕
在管理列中的管理選單
儀表板中的管理選單
設定更改後在儀表板中的管理通知
後端管理腳本
前端管理腳本
WPMUdev Domain Mapping 支援
此外掛可解決您結合 W3TC 和 Domain Mapping 時的一些問題,自動清除網站上的文章,消除混淆。
此外掛可讓您調整幾個篩選器的輸出。但預設值應適用於大多數使用者。
篩選器
在多個操作上加入更多頁面和文章以進行清除快取
add_filter( ‘wap_limit_flush’, ‘my_wap_limit_flush’ )
function my_wap_limit_flush() {
$limit = 50; // 預設為 20。
return $limit;
}
忽略限制,清除所有快取
add_filter( ‘wap_flush_all’, ‘__return_true’ );
外掛標籤
開發者團隊
原文外掛簡介
This plugin puts your W3 Total Cache configuration on auto pilot.
It’s great when you have users that don’t have access to W3 Total Cache control but still need to purge the cache.
It’s also brilliant when you have created a blog for a customer, this way they won’t even know it’s there: All cache is purged automatically.
It’s absolutely great on MultiSite installations, especially when you allow untrusted users to create a blog.
What this plugin does:
On the front end:
No more W3 Total Cache comments in the HTML output
Behind the screens:
Purge cache, whenever:
a post is updated.
theme is changed.
a widget is updated or changed from position.
a sidebar is updated.
the theme is edited in Customizer.
the nav menu is updated.
MultiSite, if not Super-Admin:
No more:
purge from cache button on pages and posts edit screens.
admin menu on the admin bar.
admin menu in the dashboard.
amin notices in the dashboard after settings change or on error.
admin scripts in back end.
admin scripts on front end.
WPMUdev Domain Mapping support
This plugin fixes a few issues when you’re combining W3TC and Domain Mapping by automatically flushing the posts on a site. This eliminates confusion.
This plugin allows you to adjust the output of a few filters. However, the defaults should work out for everyone.
Filters
Add a greater amount of pages and posts to be flushed on several actions
add_filter( ‘wap_limit_flush’, ‘my_wap_limit_flush’ )
function my_wap_limit_flush() {
$limit = 50; // Default is 20.
return $limit;
}
Flush everything, ignoring the limit
add_filter( ‘wap_flush_all’, ‘__return_true’ );
