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: README.md
+22-1Lines changed: 22 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -311,6 +311,27 @@ There are no additional fields.
311
311
$ wp cron schedule list --fields=name --format=ids
312
312
hourly twicedaily daily
313
313
314
+
315
+
316
+
### wp cron event unschedule
317
+
318
+
Unschedules all cron events for a given hook.
319
+
320
+
~~~
321
+
wp cron event unschedule <hook>
322
+
~~~
323
+
324
+
**OPTIONS**
325
+
326
+
<hook>
327
+
Name of the hook for which all events should be unscheduled.
328
+
329
+
**EXAMPLES**
330
+
331
+
# Unschedule a cron event on given hook.
332
+
$ wp cron event unschedule cron_test
333
+
Success: Unscheduled 2 events with hook 'cron_test'.
334
+
314
335
## Installing
315
336
316
337
This package is included with WP-CLI itself, no additional installation necessary.
@@ -343,7 +364,7 @@ Once you've decided to commit the time to seeing your pull request through, [ple
343
364
344
365
## Support
345
366
346
-
Github issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support
367
+
GitHub issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support
347
368
348
369
349
370
*This README.md is generated dynamically from the project's codebase using `wp scaffold package-readme` ([doc](https://github.com/wp-cli/scaffold-package-command#wp-scaffold-package-readme)). To suggest changes, please submit a pull request against the corresponding part of the codebase.*
0 commit comments