Descrição
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/<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.
ACF custom fields supported
Instalação
- 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. - Activate the plugin through the ‘Plugins’ screen in WordPress
FAQ
- 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
Avaliações
Contribuidores e desenvolvedores
“WP-REST-API V2 Menus” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.
ContribuidoresTraduzir “WP-REST-API V2 Menus” para o seu idioma.
Interessado no desenvolvimento?
Navegue pelo código, dê uma olhada no repositório SVN ou assine o registro de desenvolvimento via RSS.
Registro de alterações
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