My Google-fu can’t be good, because despite looking for ages, I can’t find a clear and unambiguous answer to my question.
If I add this line to `wp-config.php`…
define(‘DISABLE_WP_CRON’, true);
… does this disable the Heartbeat or affect it in any other way?
Is it as simple as that the Heartbeat merely runs `wp cron`, and `DISABLE_WP_CRON` disables the Heartbeat? Or is it more complex?
For clarity…
* I already have a cron job to run the following every 15 minutes (it’s a low-use website):
`wp cron event run –quiet –due-now`
* I’ve read that the Heartbeat on editing Pages and Posts shouldn’t be disabled, but can be limited to 120 seconds instead of the default 15 seconds.
Thank you
[ad_2]
Disabling the cron shouldn’t affect the heartbeat. They are separate systems. I don’t think cron runs on a heartbeat request either.
Heartbeat can send and receive data periodically or check if you’re still logged in etc. without reloading the page.
You shouldn’t disable the heartbeat or you’ll be breaking certain functionality. If you really have to change its interval you can use the API or could try a plugin like Heartbeat Control. However it should be fine.