send_action( 'jetpack_sync_heartbeat_stats', $this->add_stats() ); } /** * Retrieve the stats data for the site. * * @access public * * @return array Stats data. */ public function add_stats() { return array( Heartbeat::generate_stats_array() ); } }