Docs: Correct a function name in the `do_action()` documentation.

See #37402


git-svn-id: https://develop.svn.wordpress.org/trunk@45421 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2019-05-25 22:52:45 +00:00
parent fe7958889a
commit f0daff8dbf
1 changed files with 1 additions and 1 deletions

View File

@ -432,7 +432,7 @@ function add_action( $tag, $function_to_add, $priority = 10, $accepted_args = 1
* * * *
* * - 'example_action' is the action hook * * - 'example_action' is the action hook
* * - $arg1 and $arg2 are the additional arguments passed to the callback. * * - $arg1 and $arg2 are the additional arguments passed to the callback.
* $value = apply_actions( 'example_action', $arg1, $arg2 ); * $value = do_action( 'example_action', $arg1, $arg2 );
* *
* @since 1.2.0 * @since 1.2.0
* *