static function do_server_side_stat($args) { $response = wp_remote_get(esc_url_raw(self::build_stats_url($args))); if (is_wp_error($response)) { return false; } if (200 !== wp_remote_retrieve_response_code($response)) { return false; } return true; }