Skip to content

Instantly share code, notes, and snippets.

@mihdan
Created January 26, 2015 22:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mihdan/f9c788ddedbbe880a04d to your computer and use it in GitHub Desktop.
Save mihdan/f9c788ddedbbe880a04d to your computer and use it in GitHub Desktop.
/**
* Plugin Name: Set Heartbeat pulse
*/
! defined( 'ABSPATH' ) and exit;
add_filter( 'heartbeat_settings', 'fb_heartbeat_settings' );
function fb_heartbeat_settings( $settings = array() ) {
$settings['interval'] = 60;
return $settings;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment