[WordPress] 外掛分享: WP-REST-API V2 Menus

首頁外掛目錄 › WP-REST-API V2 Menus
3,000+
安裝啟用
★★★★★
5/5 分(6 則評價)
1225 天前
最後更新
問題解決
WordPress 4.4+ v0.12.1 上架:2016-02-29

內容簡介

此外掛會擴展WordPress REST API (版本 2),提供新的路由讓 WordPress 註冊過的選單可以被呼叫。

以下是新增的路徑:

/menus/v1/menus:列出所有註冊過的選單。
/menus/v1/menus/<slug>:特定選單的資料。
/menus/v1/locations:列出你的佈景主題中註冊過的每個選單的位置。
/menus/v1/locations/<slug>:特定選單位置的資料。

與 ACF 選單的自訂屬性和選單項目的自訂屬性相容。

與Menu Image, Icons made easy相容。

外掛標籤

開發者團隊

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

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

原文外掛簡介

This plugin extends the WordPress REST API (Version 2) with new routes for WordPress registered menus.
The new routes available will be:

/menus/v1/menus list of every registered menu.
/menus/v1/menus/ data for a specific menu.
/menus/v1/locations list of every registered menu location in your theme.
/menus/v1/locations/ data for a specific menu location.

Compatible with ACF menu’s custom attributes and menu item’s custom attributes.
Compatible with Menu Image, Icons made easy.

延伸相關外掛

文章
Filter
Mastodon