Heartbeat once a minute in the editor
The editor checks in with the server every 60 seconds instead of every 15, which lightens the load when several people edit at once.
<?php
add_filter(
'heartbeat_settings',
static function ( $settings ) {
$settings['interval'] = 60;
return $settings;
}
);
Good to know
“Slow down the Heartbeat API” in the Performance pack does the same everywhere; you don’t need both.
In these packs
- More speed: More ways to load less: block styles, speculative loading, fewer scripts.