Skip to content

Instantly share code, notes, and snippets.

@tribulant
Last active November 17, 2019 12:47
Show Gist options
  • Save tribulant/ea6bd43800f48f91453b to your computer and use it in GitHub Desktop.
Save tribulant/ea6bd43800f48f91453b to your computer and use it in GitHub Desktop.
Disable WordPress Cron Job
// Place the line of code below in your wp-config.php file
// Defining the constant as true will tell WordPress to stop executing its cron job
define('DISABLE_WP_CRON', true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment