[WordPress] 外掛分享: Rewrite Flush Button

首頁外掛目錄 › Rewrite Flush Button
WordPress 外掛 Rewrite Flush Button 的封面圖片
100+
安裝啟用
★★★★★
5/5 分(2 則評價)
4665 天前
最後更新
問題解決
WordPress 3.1+ v1.0 上架:2013-06-08

內容簡介

在發佈這個外掛後不久,我注意到當您前往 WP-Admin > 設定 > 永久連結時,WordPress
會自動刷新重寫規則。聰明的做法,對吧?所以不用安裝它,
但如果您正在尋找以下示例的程式碼,請放心檢查:

使用 WordPress 設定 API 將選項添加到現有的設定頁面;
與外掛選項配合使用 WordPress AJAX API;
過度設計已解決的問題的解決方案。

請享用!🙂

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Rewrite Flush Button」→ 直接安裝(推薦)

原文外掛簡介

It was brought to my attention shortly after releasing this plugin that WordPress automatically flushes
rewrite rules when you visit WP-Admin > Settings > Permalinks. Ingenious, right? So don’t bother installing it,
but feel free to check out the code if you are looking for an example of how to:

Use the WordPress Settings API to add an option to an existing Settings page;
Use the WordPress AJAX API in conjunction with your plugin options;
Over-engineer a solution to a problem that has already been solved.

Enjoy! 🙂

延伸相關外掛

文章
Filter
Mastodon