[WordPress] 外掛分享: Settings API

首頁外掛目錄 › Settings API
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
10+
安裝啟用
★★★★★
5/5 分(4 則評價)
2221 天前
最後更新
問題解決
WordPress 3.3+ v1.3 上架:2012-06-06

內容簡介

這個外掛是給開發者使用的,並非一般使用者。

這是一個主要針對 PHP 開發者所設計的類別,您可以使用它來建立您的佈景主題和外掛選項面板。它是一個封裝了Settings API的類別,您只需傳遞您需要使用的區塊和欄位作為 PHP 陣列即可,這個外掛將會使用這些資訊來動態建立您的選項面板。

這是一個主要用來展示 Settings API PHP 類別的展示性外掛。

您可以至 Github 取得最新的開發快照。

使用範例

您可以在這裡找到一個詳細的教學,來學習如何使用這個 PHP 類別。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Settings API」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin is for developers, not general users.
This is mainly a PHP class that you can use to build your themes and plugins option panel. It’s a wrapper class that uses
Settings API under the hood. All you need is to just pass the sections and fields
you need as an PHP array. And your options panel will be build automatically on the fly with a tiny PHP class.
This is mainly a demo plugin that uses the Settings API PHP class.
Visit the Github for the latest development snapshot.
Usage Example
A nice tutorial is presented can be found here about how to use this PHP class

延伸相關外掛

文章
Filter
Apply Filters
Mastodon