Closed wpscholar closed 5 years ago
@wpscholar The two endpoints, that should be merged, are the nav_menu
and nav_menu_item
. The other endpoints are nice, but I don't think they are needed in first version and should be broken up into different PR / tickets.
One simple question I have, how do I get menu items filter by a nav menu? The fact, I can't workout how to do this, is a real problem.
@spacedmonkey Thanks for the feedback! I'll be out the rest of this week, but I'll update the PR to separate out those endpoints and make sure we can filter menu items by nav. As far as documentation, I'll just add some more details to the readme file on how filtering works.
Thanks for working on this @wpscholar! I'm going to go ahead and close this for now to focus on the current menu PRs.
Port patch
40878.4.diff
from Trac (https://core.trac.wordpress.org/ticket/40878)