diff --git a/src/Cron_Event_Command.php b/src/Cron_Event_Command.php index ee052c13c..16cdf7b72 100644 --- a/src/Cron_Event_Command.php +++ b/src/Cron_Event_Command.php @@ -15,7 +15,7 @@ * $ wp cron event run --due-now * Success: Executed a total of 2 cron events. * - * # Delete the next scheduled cron event + * # Delete all scheduled cron events for the given hook * $ wp cron event delete cron_test * Success: Deleted 2 instances of the cron event 'cron_test'. * @@ -347,7 +347,7 @@ protected static function run_event( stdClass $event ) { } /** - * Deletes the next scheduled cron event for the given hook. + * Deletes all scheduled cron events for the given hook. * * ## OPTIONS * @@ -356,7 +356,7 @@ protected static function run_event( stdClass $event ) { * * ## EXAMPLES * - * # Delete the next scheduled cron event + * # Delete all scheduled cron events for the given hook * $ wp cron event delete cron_test * Success: Deleted 2 instances of the cron event 'cron_test'. */