Unschedule cron events
wp_unschedule_cronUnschedule every pending WP-Cron event of one hook whose arguments equal args, single and recurring alike. Returns cleared (the number of events removed, 0 when none matched) and hook. Permanent: no undo point is recorded, an event runs again only once it is scheduled again, and one already running is not stopped. Any hook can be cleared, not only those allowed for wp_schedule_cron. Requires manage_options. Forwarded by AlphaBridge Connect to the one site this connection reaches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments the events were scheduled with; only events with exactly these arguments are cleared. Default: none (events scheduled without arguments). | |
| hook | Yes | Action hook name of the events, as wp_get_cron shows it. |