Skip to content

Early-bird lifetime licence: $199 once, for the first 200 buyers only. See the offer

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.

  • Type PHP
  • Runs Everywhere (runs as WordPress loads)
  • Category Performance
  • Tested with WordPress 7.1
PHP
<?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.

Move your snippets over this afternoon.

Importing changes nothing until you switch over, and your old shortcodes keep working.