Title: WP-REST-API V2 Menus
Author: thebatclaudio
Published: <strong>1 de marzo de 2016</strong>
Last modified: 9 de noviembre de 2022

---

Buscar plugins

Este plugin **no se ha probado con las últimas 3 versiones mayores de WordPress**.
Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas 
de compatibilidad cuando se usa con las versiones más recientes de WordPress.

![](https://s.w.org/plugins/geopattern-icon/wp-rest-api-v2-menus.svg)

# WP-REST-API V2 Menus

 Por [thebatclaudio](https://profiles.wordpress.org/claudiolabarbera/)

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

 * [Detalles](https://ve.wordpress.org/plugins/wp-rest-api-v2-menus/#description)
 * [Valoraciones](https://ve.wordpress.org/plugins/wp-rest-api-v2-menus/#reviews)
 *  [Instalación](https://ve.wordpress.org/plugins/wp-rest-api-v2-menus/#installation)
 * [Desarrollo](https://ve.wordpress.org/plugins/wp-rest-api-v2-menus/#developers)

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

## Descripción

This plugin extends the [WordPress REST API (Version 2)](https://wordpress.org/plugins/rest-api/)
with new routes for WordPress registered menus.

The new routes available will be:

 * `/menus/v1/menus` list of every registered menu.
 * `/menus/v1/menus/<slug>` data for a specific menu.
 * `/menus/v1/locations` list of every registered menu location in your theme.
 * `/menus/v1/locations/<slug>` 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](https://wordpress.org/plugins/menu-image/).

## Instalación

 1. Upload the plugin files to the `/wp-content/plugins/wp-rest-api-v2-menus` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress

## Preguntas frecuentes

### Is this an official extension of WP API?

There’s no such thing.

### Can I contribute to the project?

Of course! This is the GitHub Repository https://github.com/thebatclaudio/wp-rest-
api-v2-menus

## Reseñas

![](https://secure.gravatar.com/avatar/1e0616296c4d26d92cb64457f967d9ac34aae2b2b1980e1fcf56af41183c5739?
s=60&d=retro&r=g)

### 󠀁[Working as expected](https://wordpress.org/support/topic/working-as-expected-43/)󠁿

 [Sarankumar](https://profiles.wordpress.org/sarankumar/) 9 de julio de 2021

Thank you for your time effort on this plugin. Please keep update on this plugin
and requesting you to maintain it.

![](https://secure.gravatar.com/avatar/809098021b2230516b40d861cd9092b9f8b8c2f1e6028477ea862838855fc39e?
s=60&d=retro&r=g)

### 󠀁[Perfecto](https://wordpress.org/support/topic/perfecto-223/)󠁿

 [davidfh34](https://profiles.wordpress.org/davidfh34/) 26 de mayo de 2020

Perfecto y simple

![](https://secure.gravatar.com/avatar/1de86ba420edbfe0a9530744b81e2c201d40d04ee629a27ff5607c163e9524dd?
s=60&d=retro&r=g)

### 󠀁[It does the job and saves time!](https://wordpress.org/support/topic/it-does-the-job-and-saves-time/)󠁿

 [beltranrengifo](https://profiles.wordpress.org/beltranrengifo/) 20 de noviembre
de 2019

The plugin works fine and is really helpful when using the REST api.

![](https://secure.gravatar.com/avatar/61d1254767cece0f0e322c56fe1fe215ae99cc9e2b016547aa67e45605de6c6b?
s=60&d=retro&r=g)

### 󠀁[Great little plugin with an active developer](https://wordpress.org/support/topic/great-little-plugin-with-an-active-developer/)󠁿

 [picksley](https://profiles.wordpress.org/picksley/) 4 de abril de 2019

Our current set-up is a custom PHP website, that is powered from WordPress via the
Rest API This plugin allows me to eat data from multiple menus, children and use
them to power our website. Great and simple plugin

![](https://secure.gravatar.com/avatar/1ee109e14134ef2ace9175eacc33b401d47bde2cc31973b154882d54996df443?
s=60&d=retro&r=g)

### 󠀁[Essential addition to existing wp rest api](https://wordpress.org/support/topic/essential-addition-to-existing-wp-rest-api/)󠁿

 [onnohaldar](https://profiles.wordpress.org/onnohaldar/) 29 de marzo de 2019

This Plugin is working perfect when you have to build a more advanced standardized
responsive theme. I have tested it with angular 7 and angular material 2 and it 
did just what is suppose to deliver. Fast access to location and menu data to reuse
this to build angular material 2 templated menus. Great! Thnx!

![](https://secure.gravatar.com/avatar/6103b899aa62a97f1e002bd12b07704029521ccca52af7bb9d1d39acd3875399?
s=60&d=retro&r=g)

### 󠀁[Excellent Plugin](https://wordpress.org/support/topic/excellent-plugin-246/)󠁿

 [dcurasi](https://profiles.wordpress.org/dcurasi/) 15 de septiembre de 2016

The plugin works great!

 [ Leer todas las 6 reseñas ](https://wordpress.org/support/plugin/wp-rest-api-v2-menus/reviews/)

## Colaboradores y desarrolladores

«WP-REST-API V2 Menus» es un software de código abierto. Las siguientes personas
han colaborado con este plugin.

Colaboradores

 *   [ thebatclaudio ](https://profiles.wordpress.org/claudiolabarbera/)
 *   [ ale.barbieri ](https://profiles.wordpress.org/alebarbieri/)
 *   [ joshuaslate ](https://profiles.wordpress.org/joshuaslatedesign/)
 *   [ raik ](https://profiles.wordpress.org/raik/)
 *   [ beltranrengifo ](https://profiles.wordpress.org/beltranrengifo/)
 *   [ Trollhag ](https://profiles.wordpress.org/trollhag/)
 *   [ fifciuu ](https://profiles.wordpress.org/fifciuu/)

[Traduce «WP-REST-API V2 Menus» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/wp-rest-api-v2-menus)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/wp-rest-api-v2-menus/),
echa un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/wp-rest-api-v2-menus/)
o suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/wp-rest-api-v2-menus/)
por [RSS](https://plugins.trac.wordpress.org/log/wp-rest-api-v2-menus/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

0.12.1 – Bug fix: Fatal error when get_term() fails

0.12 – Some bug fixes

0.10 – Fix possible name colision caused by ACF field with existing name (example:
if we have an ACF field named «title» it will overwrite the original post’s title).
Now ACF fields are grouped in a «acf» object.

0.9.1 – Wrong release

0.9 – Wrong release

0.8.1 – Use post_name instead of basename (Bug fix for static home page)

0.8 – Added support for apply_filters + Bug fix permision_callback (WP 5.5.0) + 
Bug fix infinite loop

0.7.7 – Added support for thumbnail_src and thumbnail_hover_src

0.7.6 – Added contributors and changed description in readme.txt

0.7.5 – Compatibility with Menu Image, Icons made easy; Bug fix: use get_term instead
of get_category for taxonomies

0.7.3 – Added slug to category item object

0.7.2 – Added slug to menu item object

0.7.1 – Bug fix: menu items were returned as an object instead of array

0.7 – New way to check menu item’s relatives, now it works with infinite child levels
+ various bug fixes

0.6.1 – Bug fix

0.6 – Added menu locations features

0.5 – Added support for ACF custom fields

0.4 – Added nested menus support and pages slugs

0.3.2 – Bug fix: allowing underscore values in menu slug regexp

0.3.1 – Bug fix: allowing numeric values in menu slug regexp

0.3 – Bug fix

0.2 – Updated compatibility

0.1.1 – Bug fix

## Meta

 *  Version **0.12.1**
 *  Last updated **hace 3 años**
 *  Active installations **3.000+**
 *  WordPress version ** 4.4 o superior **
 *  Tested up to **6.0.11**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-rest-api-v2-menus/)
 * Tags
 * [api](https://ve.wordpress.org/plugins/tags/api/)[JSON](https://ve.wordpress.org/plugins/tags/json/)
   [json rest api](https://ve.wordpress.org/plugins/tags/json-rest-api/)[menu-routes](https://ve.wordpress.org/plugins/tags/menu-routes/)
   [menus](https://ve.wordpress.org/plugins/tags/menus/)
 *  [Vista avanzada](https://ve.wordpress.org/plugins/wp-rest-api-v2-menus/advanced/)

## Valoraciones

 5 out of 5 stars.

 *  [  6 5-star reviews     ](https://wordpress.org/support/plugin/wp-rest-api-v2-menus/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wp-rest-api-v2-menus/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wp-rest-api-v2-menus/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wp-rest-api-v2-menus/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wp-rest-api-v2-menus/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/wp-rest-api-v2-menus/reviews/)

## Colaboradores

 *   [ thebatclaudio ](https://profiles.wordpress.org/claudiolabarbera/)
 *   [ ale.barbieri ](https://profiles.wordpress.org/alebarbieri/)
 *   [ joshuaslate ](https://profiles.wordpress.org/joshuaslatedesign/)
 *   [ raik ](https://profiles.wordpress.org/raik/)
 *   [ beltranrengifo ](https://profiles.wordpress.org/beltranrengifo/)
 *   [ Trollhag ](https://profiles.wordpress.org/trollhag/)
 *   [ fifciuu ](https://profiles.wordpress.org/fifciuu/)

## Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

 [Ver el foro de soporte](https://wordpress.org/support/plugin/wp-rest-api-v2-menus/)