should be if( (isset( $data['edd_heartbeat'] )) && ($data['edd_heartbeat']  == 'dashboard_summary')) {