Skip to content

Commit

Permalink
Update getTemplates.ts reference
Browse files Browse the repository at this point in the history
Signed-off-by: Emmanuel Ferdman <[email protected]>
  • Loading branch information
emmanuel-ferdman committed Oct 24, 2024
1 parent 289338a commit 6d021de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/external-template-creation.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Once you have the story JSON, several code changes are needed to add it to the l
};
```

4. In [`packages/templates/src/getTemplates.js`](https://github.com/googleforcreators/web-stories-wp/blob/main/packages/templates/src/getTemplates.js), add `"<template_name>"` to the string array in the `getTemplates()` function.
4. In [`packages/templates/src/getTemplates.ts`](https://github.com/googleforcreators/web-stories-wp/blob/main/packages/templates/src/getTemplates.ts), add `"<template_name>"` to the string array in the `getTemplates()` function.
5. Verify in your WP environment that the new template is visible in the editor's "Explore Templates" section.
6. Create a single pull request with all of the changes in steps 1-3.
Expand Down

0 comments on commit 6d021de

Please sign in to comment.