You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Cron_Event_Command.php
+17-7Lines changed: 17 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -327,7 +327,7 @@ public function unschedule( $args, $assoc_args ) {
327
327
* : Delete all hooks.
328
328
*
329
329
* [--match-args=<args>]
330
-
* : Only delete events whose arguments match the given JSON-encoded array or scalar value. Requires exactly one hook name.
330
+
* : Only delete events whose arguments match the given JSON-encoded array or scalar value. Argument types must match exactly (for example, `["123"]` vs `[123]`). Requires exactly one hook name.
331
331
*
332
332
* ## EXAMPLES
333
333
*
@@ -336,7 +336,7 @@ public function unschedule( $args, $assoc_args ) {
336
336
* Success: Deleted a total of 2 cron events.
337
337
*
338
338
* # Delete a specific cron event by hook and arguments
0 commit comments