Expose Nav Menus via the REST API
Registers a GET /wp-json/scseed/v1/menu?location=primary endpoint that returns the items of a registered navigation menu.
PHPProby SnipCraft
This is a Pro snippet
The full code for “Expose Nav Menus via the REST API” is part of the SnipCraft Pro library. Get every Pro snippet and module, and import them in one click.
Get SnipCraft ProQuestions about Pro? Contact us.
#api#headless#menus#navigation#rest-api