From 2a8c8f20ca352e42447f81f860339376cfe0209c Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Tue, 3 Dec 2019 07:54:49 +0000 Subject: [PATCH] Add entity for Menu Items --- packages/core-data/src/entities.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core-data/src/entities.js b/packages/core-data/src/entities.js index b3bee2a4d63111..48e4a9cd4d8de8 100644 --- a/packages/core-data/src/entities.js +++ b/packages/core-data/src/entities.js @@ -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 = [