Ready to get started?Download WordPress


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

Function Reference/wp clear scheduled hook


Un-schedules all previously-scheduled cron jobs using a particular hook name and arguments.


 <?php wp_clear_scheduled_hook('my_schedule_hook'original_arg1arg2, ... ); ?> 

Note that you need to know the exact function arguments this cron hook was supposed to have, in order to unschedule it. All ocurrences of this hook in the schedule, with these arguments, will be removed from the schedule. Also note that the arguments are passed-in singly, not in an array as in the other cron-related functions.


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