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 Jan 9, 2020
1 parent 4a2c825 commit 2af97da
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 2af97da

Please sign in to comment.