Title: WP-REST-API Menus
Author: jcdev518
Published: <strong>19 maart 2018</strong>
Last modified: 26 maart 2018

---

Plugins zoeken

Deze plugin **is niet getest met de laatste 3 grotere versies van WordPress**. Mogelijk
wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen
ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

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

# WP-REST-API Menus

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

[Download](https://downloads.wordpress.org/plugin/wp-rest-api-menus.zip)

 * [Details](https://nl.wordpress.org/plugins/wp-rest-api-menus/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/wp-rest-api-menus/#reviews)
 *  [Installatie](https://nl.wordpress.org/plugins/wp-rest-api-menus/#installation)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/wp-rest-api-menus/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/wp-rest-api-menus/)

## Beschrijving

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

## Installatie

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/

## Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

## Bijdragers & ontwikkelaars

“WP-REST-API Menus” is open source software. De volgende personen hebben bijgedragen
aan deze plugin.

Bijdragers

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

[Vertaal “WP-REST-API Menus” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/wp-rest-api-menus)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/wp-rest-api-menus/),
haal de [SVN repository](https://plugins.svn.wordpress.org/wp-rest-api-menus/) op,
of abonneer je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/wp-rest-api-menus/)
via [RSS](https://plugins.trac.wordpress.org/log/wp-rest-api-menus/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Requires PHP 5.6x at the very least.

## Meta

 *  Versie **1.0**
 *  Laatst geüpdatet **8 jaar geleden**
 *  Actieve installaties **70+**
 *  WordPress versie ** 4.7.0 of nieuwer **
 *  Getest t/m **4.9.29**
 *  PHP versie ** 5.6 of nieuwer **
 *  Taal
 * [English (US)](https://wordpress.org/plugins/wp-rest-api-menus/)
 * Tags
 * [JSON](https://nl.wordpress.org/plugins/tags/json/)[json rest api](https://nl.wordpress.org/plugins/tags/json-rest-api/)
   [menus](https://nl.wordpress.org/plugins/tags/menus/)[wp-api](https://nl.wordpress.org/plugins/tags/wp-api/)
   [wp-rest-api](https://nl.wordpress.org/plugins/tags/wp-rest-api/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/wp-rest-api-menus/advanced/)

## Waarderingen

Er zijn nog geen beoordelingen ingediend.

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

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/wp-rest-api-menus/reviews/)

## Bijdragers

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

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/wp-rest-api-menus/)

## Doneren

Wil je de groei van deze plugin ondersteunen?

 [ Doneer aan deze plugin ](https://amorphouswebsolutions.com/plugins)