Title: WP-REST-API Menus
Author: jcdev518
Published: <strong>2018年3月19日</strong>
Last modified: 2018年3月26日

---

プラグインを検索

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

![](https://ps.w.org/wp-rest-api-menus/assets/icon-128x128.jpg?rev=1842417)

# WP-REST-API Menus

 作者: [jcdev518](https://profiles.wordpress.org/jcdev518/)

[ダウンロード](https://downloads.wordpress.org/plugin/wp-rest-api-menus.zip)

 * [詳細](https://ja.wordpress.org/plugins/wp-rest-api-menus/#description)
 * [レビュー](https://ja.wordpress.org/plugins/wp-rest-api-menus/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/wp-rest-api-menus/#installation)
 * [開発](https://ja.wordpress.org/plugins/wp-rest-api-menus/#developers)

 [サポート](https://wordpress.org/support/plugin/wp-rest-api-menus/)

## 説明

This plugin adds “routes” or “endpoints” to WP REST API that allows for retrieval
of
 menu data as JSON.

Updated port of “WP-REST-API V2 Menus” by Claudio La Barbera (http://www.claudiolabarbera.
com)

**Usage**

**Get all registered menus:**

    ```
    GET /wp-menus/v1/menus
    https://yourwpsite.com/wp-json/wp-menus/v1/menus
    ```

**Get menu data as JSON from menu slug:**

    ```
    GET /wp-menus/v1/menus/{slug}
    https://yourwpsite.com/wp-json/wp-menus/v1/menus/{slug}
    ```

Gets the contents of a registered menu by its “slug”.

When assigning a menu a location in /wp-admin/nav-menus.php?action=locations
 the
slug is the name of the menu in lowercase and without any spaces like a post slug.

If your menu name is Main Menu:
 https://yourwpsite.com/wp-json/menus/v1/wp-menus/
main-menu

## インストール

There are no requirements other than WordPress and one active menu. Installation
is simple:

 1. Upload the `wp-rest-api-menus` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

  Installation Instructions

There are no requirements other than WordPress and one active menu. Installation
is simple:

 1. Upload the `wp-rest-api-menus` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

  How do I use this plugin?

It creates a JSON interpretation of any “registered” menu mainly for front-end use.
If you have any questions feel free to contact me: https://www.amorphouswebsolutions.
com/contact/

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

WP-REST-API Menus はオープンソースソフトウェアです。以下の人々がこのプラグインに
貢献しています。

貢献者

 *   [ jcdev518 ](https://profiles.wordpress.org/jcdev518/)

[“WP-REST-API Menus” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/wp-rest-api-menus)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/wp-rest-api-menus/)する
か、[SVN リポジトリ](https://plugins.svn.wordpress.org/wp-rest-api-menus/)をチェック
するか、[開発ログ](https://plugins.trac.wordpress.org/log/wp-rest-api-menus/)を 
[RSS](https://plugins.trac.wordpress.org/log/wp-rest-api-menus/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 1.0

 * Requires PHP 5.6x at the very least.

## メタ

 *  バージョン **1.0**
 *  最終更新日 **9年前**
 *  有効インストール数 **60+**
 *  WordPress バージョン ** 4.7.0またはそれ以降 **
 *  検証済み最新バージョン: **4.9.34**
 *  PHP バージョン ** 5.6またはそれ以降 **
 *  言語
 * [English (US)](https://wordpress.org/plugins/wp-rest-api-menus/)
 * タグ
 * [JSON](https://ja.wordpress.org/plugins/tags/json/)[json rest api](https://ja.wordpress.org/plugins/tags/json-rest-api/)
   [menus](https://ja.wordpress.org/plugins/tags/menus/)[wp-api](https://ja.wordpress.org/plugins/tags/wp-api/)
   [wp-rest-api](https://ja.wordpress.org/plugins/tags/wp-rest-api/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/wp-rest-api-menus/advanced/)

## 評価

レビューはまだ送信されていません。

[Your review](https://wordpress.org/support/plugin/wp-rest-api-menus/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/wp-rest-api-menus/reviews/)

## 貢献者

 *   [ jcdev518 ](https://profiles.wordpress.org/jcdev518/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/wp-rest-api-menus/)

## 寄付

このプラグインが今後も改善できるよう応援しませんか ?

 [ このプラグインに寄付 ](https://amorphouswebsolutions.com/plugins)