get_stats(); $stats['service'] = 'analytics'; $response = wp_remote_post($this->service_url, [ 'sslverify' => false, 'method' => 'POST', 'timeout' => '45', 'httpversion' => '1.0', 'body' => $stats ]); return (!is_wp_error($response)); } }