Support » Plugin: JSON API » Menus Categories
3 years, 7 months ago
Is it possible to get the categories of a specific menu?
3 years, 5 months ago
If you’re looking to get a menu listing that you’ve created in WP Admin, then you’re in luck. Check out this custom controller I put together to get a simple menu listing via the API: https://github.com/mcnasby/wp-json-api-menu-controller
3 years, 4 months ago
Hi Mike, your controller is exactly what I am looking for – I use the JSON API and want to pull back the menu info. I’ve downloaded your code from GitHub but it’s giving me an error on the JSON page:
Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /home/instant/public_html/wp-content/themes/Lotus/api-controllers/menus.php on line 17