diff --git a/packages/editor/README.md b/packages/editor/README.md index 1c3ff3e0d64f4a..ac655bd1c99d8c 100644 --- a/packages/editor/README.md +++ b/packages/editor/README.md @@ -439,17 +439,6 @@ getDerivedStateFromError is used to render a fallback UI after an error has been > **Deprecated** since 5.3, use `wp.blockEditor.getFontSizeClass` instead. -### getTemplateInfo - -Helper function to retrieve the corresponding template info for a given template. - -_Parameters_ - -- _params_ `Object`: -- _params.templateTypes_ `Array`: -- _params.templateAreas_ `Array`: -- _params.template_ `Object`: - ### getTemplatePartIcon Helper function to retrieve the corresponding icon by name. diff --git a/packages/editor/src/utils/index.js b/packages/editor/src/utils/index.js index de1e8e5c21c01e..d85892a57bd0a8 100644 --- a/packages/editor/src/utils/index.js +++ b/packages/editor/src/utils/index.js @@ -6,4 +6,3 @@ import mediaUpload from './media-upload'; export { mediaUpload }; export { cleanForSlug } from './url.js'; export { getTemplatePartIcon } from './get-template-part-icon'; -export { getTemplateInfo } from './get-template-info';