stop heartbeat code
-
I am excited to learn your wonderful snippet.
Thanks a lot.Yet, I need help to add following code:
add_action( 'init', 'stop_heartbeat', 1 ); function stop_heartbeat() { wp_deregister_script('heartbeat');
————-
The result comes out like this:The code snippet you are trying to save produced a fatal error on line 5:
syntax error, unexpected end of file.
Please advise how to fix this.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘stop heartbeat code’ is closed to new replies.