Skip to content

Commit

Permalink
Fix: Invalid documentation link to load JavaScript. (WordPress#60181)
Browse files Browse the repository at this point in the history
Co-authored-by: jorgefilipecosta <jorgefilipecosta@git.wordpress.org>
  • Loading branch information
2 people authored and carstingaxion committed Mar 27, 2024
1 parent cc1f5a9 commit 02d3e11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/how-to-guides/notices/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ To better understand the specific code example above:
- `wp.data.dispatch('core/notices')` accesses functionality registered to the block editor data store by the Notices package.
- `createNotice()` is a function offered by the Notices package to register a new notice. The block editor reads from the notice data store in order to know which notices to display.

Check out the [_Loading JavaScript_](/docs/how-to-guides/javascript/loading-javascript.md) tutorial for a primer on how to load your custom JavaScript into the block editor.
Check out the [_Enqueueing assets in the Editor_](/docs/how-to-guides/enqueueing-assets-in-the-editor.md) tutorial for a primer on how to load your custom JavaScript into the block editor.

## Learn more

Expand Down

0 comments on commit 02d3e11

Please sign in to comment.