1
votes

I want to rendered all the menus of wordpress website using wp rest api v2.attach my all pages response but i didnt understand how to get menu list from this.response of all pages

1
hello, can anyone help me on this please..i m stuck on this..i dont want to add any plugin for this..want to work wp rest v2 api itself.bhupesh parab
I answered another similar question with a (no plugin) solution: wordpress.stackexchange.com/questions/209381/…Liren

1 Answers

0
votes

You need to install the WP API Menus [1] and then you can fetch the menus using wp-json/wp-api-menus/v2/menus/

[1] https://wordpress.org/plugins/wp-api-menus/