48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
=== Plugin Name ===
|
|
Contributors: ClaudioLaBarbera
|
|
Tags: api, json, json-rest-api, menu-routes, menus, REST, wp-api, wp-rest-api, v2
|
|
Requires at least: 4.4
|
|
Tested up to: 4.8.1
|
|
Stable tag: 0.3
|
|
License: GPLv2 or later
|
|
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
|
|
|
Adding menus endpoints on WP REST API v2
|
|
|
|
== Description ==
|
|
|
|
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.
|
|
|
|
== Installation ==
|
|
|
|
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
|
|
|
|
|
|
== Frequently Asked Questions ==
|
|
|
|
= 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
|
|
|
|
== Screenshots ==
|
|
|
|
Nothing to show. This plugin has no settings or frontend, it just extends WP API with new routes.
|
|
|
|
== Changelog ==
|
|
|
|
0.3 - Bug fix
|
|
|
|
0.2 - Updated compatibility
|
|
|
|
0.1.1 - Bug fix
|