Skip to content

Commit

Permalink
Update wp-plugin.md (#37636)
Browse files Browse the repository at this point in the history
  • Loading branch information
alokstha1 committed Dec 28, 2021
1 parent 3f43af0 commit b2a560a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/getting-started/create-block/wp-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ By default, the build scripts looks for `src/index.js` for the JavaScript file t

## Plugin to Load Script

To load the built script, so it is run within the editor, you need to tell WordPress about the script. This done in the init action in the `gutenpride.php` file.
To load the built script, so it is run within the editor, you need to tell WordPress about the script. This is done in the init action in the `gutenpride.php` file.

```php
function create_block_gutenpride_block_init() {
Expand Down

0 comments on commit b2a560a

Please sign in to comment.