Skip to content

Commit

Permalink
Add entity for Menu Items
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Dec 3, 2019
1 parent 92e1c9c commit 2a8c8f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core-data/src/entities.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const defaultEntities = [
{ name: 'media', kind: 'root', baseURL: '/wp/v2/media', plural: 'mediaItems' },
{ name: 'taxonomy', kind: 'root', key: 'slug', baseURL: '/wp/v2/taxonomies', plural: 'taxonomies' },
{ name: 'menu', kind: 'root', baseURL: '/wp/v2/menus', plural: 'menus' },
{ name: 'menu-item', kind: 'root', baseURL: '/wp/v2/menu-items', plural: 'menu-items' },
];

export const kinds = [
Expand Down

0 comments on commit 2a8c8f2

Please sign in to comment.