Hi there, I have added custom fields to our menu items, and aren’t able to see them when querying the endpoints. Is this something ACF can’t yet do, or, do we need to use alternative end points? E.g. our site shows the menus via a JSON call like such: http://localhost:8888/sitename/index.php/wp-json/wp-api-menus/v2/menus/ however, this doesn’t show the acf we added to the menu items.
If however, we install a third party plugin, namely Menu Image (https://wordpress.org/plugins/menu-image/) and add an image, text, etc to the fields in that plugin, we are able to see this data in the above JSON call.
Has anyone had luck retrieving ACF added to a menu via a WP-API JSON call before?
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users