WordPressPerformanceTooling
NINJA Heartbeat Control
Throttle or disable the WordPress Heartbeat API to cut admin-ajax load and hosting CPU — with separate control for dashboard, editor and front end.
// features
- Default — leave WordPress alone; no change to the built-in behaviour.
- Disable — deregister the heartbeat script entirely for that context, eliminating all admin-ajax.php calls from it.
- Modify — filters heartbeat_settings to set the interval key for the matching context only, leaving other contexts at their WordPress default.
- Context detection — front end = !is_admin(); dashboard = admin screen id dashboard; editor = post.php or post-new.php.
// overview
What it does
NINJA Heartbeat Control tames WordPress Heartbeat, the background admin-ajax.php polling that can hammer shared hosting. Set the interval (or switch it off entirely) independently for the dashboard, the post editor and the front end, while keeping autosave and post-locking working where you want them.
Self-contained and free — built in the ninja.si plugin workshop. Need a tailored variant? Open a brief via /request.
// adapt or extend
Need NINJA Heartbeat Control customized?
Open a ticket and we'll scope the change. We add features, swap providers, or branch the plugin entirely if you need something close-but-not-quite.