WordPress.org

Ready to get started?Download WordPress

Forums

JSON API
Menus Categories (3 posts)

  1. bemobile
    Member
    Posted 1 year ago #

    Is it possible to get the categories of a specific menu?

    http://wordpress.org/extend/plugins/json-api/

  2. mcnasby
    Member
    Posted 9 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. aaceuk
    Member
    Posted 9 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

    Any ideas?

    Thanks
    Andy

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.