Skip to content

Instantly share code, notes, and snippets.

@rfvcorreia
Created June 27, 2013 11:18
Show Gist options
  • Save rfvcorreia/5875706 to your computer and use it in GitHub Desktop.
Save rfvcorreia/5875706 to your computer and use it in GitHub Desktop.
Remove Cron Job
add_action("init", "clear_crons_left");
function clear_crons_left() {
wp_clear_scheduled_hook("cron_name");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment