How to Limit Heartbeat API in WordPress

How to Limit Heartbeat API in WordPress