Created
November 21, 2018 21:23
-
-
Save adamsilverstein/4bfc76454656046b24f18b292da895f7 to your computer and use it in GitHub Desktop.
shorten wordpress 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
function wp_heartbeat_settings_3242( $settings ) { | |
$settings['interval'] = 15; //Anything between 15-120 | |
return $settings; | |
} | |
add_filter( 'heartbeat_settings', 'wp_heartbeat_settings_3242' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment