cron.php wordpress removing automatically code example Example: wp cron disable // On wp-config.php add: define('DISABLE_WP_CRON', 'true');