Skip to content

Commit

Permalink
make getTemplateInfo private
Browse files Browse the repository at this point in the history
  • Loading branch information
gigitux committed Nov 25, 2024
1 parent e395bf6 commit dc78bf9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
11 changes: 0 additions & 11 deletions packages/editor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion packages/editor/src/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';

0 comments on commit dc78bf9

Please sign in to comment.