Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Small wording change to simplify a line.
  • Loading branch information
borkweb authored May 1, 2024
1 parent 2dfd2da commit 351ea53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ Asset::add( 'script-with-dependencies', 'js/something.js' )
->register();
```

Note that the callable will be called when the asset is enqueued, not later, when the asset is printed.
Note that the callable will be executed when the asset is **_enqueued_**.

#### Auto-enqueuing on an action
To specify when to enqueue the asset, you can indicate it like so:
Expand Down

0 comments on commit 351ea53

Please sign in to comment.