Skip to content

Commit

Permalink
Fix typo on hooks package readme. (#14471)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsusanto authored and gziolo committed Mar 16, 2019
1 parent 6a9665a commit f3148cc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/hooks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ In the WordPress context, API functions can be called via the global `wp.hooks`
### API Usage

* `createHooks()`
* `addAction( 'hookName', 'namespace', 'functionName', callback, priority )`
* `addFilter( 'hookName', 'namespace', 'functionName', callback, priority )`
* `removeAction( 'hookName', 'namespace', 'functionName' )`
* `removeFilter( 'hookName', 'namespace', 'functionName' )`
* `addAction( 'hookName', 'namespace', callback, priority )`
* `addFilter( 'hookName', 'namespace', callback, priority )`
* `removeAction( 'hookName', 'namespace' )`
* `removeFilter( 'hookName', 'namespace' )`
* `removeAllActions( 'hookName' )`
* `removeAllFilters( 'hookName' )`
* `doAction( 'hookName', arg1, arg2, moreArgs, finalArg )`
Expand Down

0 comments on commit f3148cc

Please sign in to comment.