From f0daff8dbfc44093b6f775c349e71ad64539bd68 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Sat, 25 May 2019 22:52:45 +0000 Subject: [PATCH] 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 --- src/wp-includes/plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/plugin.php b/src/wp-includes/plugin.php index 79af046ed0..16a88a21e1 100644 --- a/src/wp-includes/plugin.php +++ b/src/wp-includes/plugin.php @@ -432,7 +432,7 @@ function add_action( $tag, $function_to_add, $priority = 10, $accepted_args = 1 * * * * - 'example_action' is the action hook * * - $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 *