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:
parent
fe7958889a
commit
f0daff8dbf
|
@ -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
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue