Skip to content

Commit

Permalink
Merge pull request #62 from johnbillion/fix/event-delete-docs
Browse files Browse the repository at this point in the history
Fix documentation for the delete command.
  • Loading branch information
schlessera authored Jul 4, 2020
2 parents 5bed256 + e6886d9 commit f4e1d02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Cron_Event_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'.
*
Expand Down Expand Up @@ -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
*
Expand All @@ -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'.
*/
Expand Down

0 comments on commit f4e1d02

Please sign in to comment.