From eefe783e789317195e5f024fc91631e2c0bd8079 Mon Sep 17 00:00:00 2001 From: Rudy Susanto Date: Sat, 16 Mar 2019 12:48:17 +0700 Subject: [PATCH] Fix typo on hooks package readme. --- packages/hooks/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/hooks/README.md b/packages/hooks/README.md index d839876d301553..be0148f3747a07 100644 --- a/packages/hooks/README.md +++ b/packages/hooks/README.md @@ -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 )`