Created
May 22, 2017 02:19
-
-
Save Kaiderella/9ec8562c65a3880b14a1b8c84cb96a35 to your computer and use it in GitHub Desktop.
Vô hiệu hóa Heartbeat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'init', 'stop_heartbeat', 1 ); | |
function stop_heartbeat() { | |
wp_deregister_script('heartbeat'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment