thebatclaudio / wp-rest-api-v2-menus

Adding menus endpoints on WP REST API v2
47 stars 22 forks source link

Menu item children not nested #9

Closed sic-craig closed 5 years ago

sic-craig commented 6 years ago

In v1, nested menus were represented as such in the response, so you could loop through an items children. Now the response is flat, meaning this is not possible.