how to set disable_wp_cron code example Example: wp cron disable // On wp-config.php add: define('DISABLE_WP_CRON', 'true');