最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Disabled Heartbeat but i think it's still working. Is there a plugin or script to check it?

programmeradmin4浏览0评论

I just disabled Heartbeat with the plugin Heartbeat control and also adding this script in function.php of my child-theme

add_action( 'init', 'stop_heartbeat', 1 );
function stop_heartbeat() {
wp_deregister_script('heartbeat');
}

But i think it's still working and some plugin is overriding it. I still have large cpu spike while the site is in mantainance mode. Is there a function or action that i can use to check if this worked ?

发布评论

评论列表(0)

  1. 暂无评论