wp-api-menus icon indicating copy to clipboard operation
wp-api-menus copied to clipboard

Add items argument to menus

Open fahrradflucht opened this issue 8 years ago • 3 comments

In some cases the cost of fetching the menus first and then only fetching the items for the menus that are needed by id are higher then fetching them all at once. It's now possible to specify an items argument to indicate whether to fetch the menu items as well or not.

Since it defaults to false this change would be non breaking.

Note that this change is currently V2 only.

fahrradflucht avatar May 18 '16 17:05 fahrradflucht

Note that this PR is already based on #28.

fahrradflucht avatar May 18 '16 17:05 fahrradflucht

@mckernanin I would merge this but I think it would be great if I could get a second per of eyes before that. Could you give a quick review?

Let me know if you need any additional information or context to make this easier for you.

fahrradflucht avatar Nov 21 '16 13:11 fahrradflucht

I will check it out

mckernanin avatar Nov 21 '16 14:11 mckernanin