thebatclaudio / wp-rest-api-v2-menus

Adding menus endpoints on WP REST API v2
47 stars 22 forks source link
api hacktoberfest menus menus-endpoints wordpress wordpress-api wordpress-api-library wordpress-api-menus wordpress-plugin

WP REST API V2 Menus

Build Status

Adding menus endpoints on WP REST API v2

Routes

Get all menus:

GET /menus/v1/menus

Get menus data from slug or ID:

GET /menus/v1/menus/{slug}

Get all locations:

GET /menus/v1/locations

Get menus data from location's slug

GET /menus/v1/locations/{slug}

Compatibility

Compatible with ACF menu's custom attributes and menu item's custom attributes.

Compatible with Menu Image, Icons made easy.

Contributors

Made with contrib.rocks.