WordPress.org

Ready to get started?Download WordPress

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/wp unschedule event

Description

Un-schedules a previously-scheduled cron job.

Usage

 <?php wp_unschedule_event(next_scheduled_time'my_schedule_hook'original_args ); ?> 

Note that you need to know the exact time of the next occurrence when scheduled hook was set to run, and the function arguments it was supposed to have, in order to unschedule it. All future occurrences are un-scheduled by calling this function.

See:

This page is marked as incomplete. You can help Codex by expanding it.