WordPress at a glance
function is not described

WP_HTTP_Requests_Response::get_data() public WP 4.6.0

Retrieves the response data.

{} It's a method of the class: WP_HTTP_Requests_Response{}

No Hooks.

Return

String. Response data.

Usage

$WP_HTTP_Requests_Response = new WP_HTTP_Requests_Response();
$WP_HTTP_Requests_Response->get_data();

Changelog

Since 4.6.0 Introduced.

Code of WP_HTTP_Requests_Response::get_data() WP 5.7.2

<?php
public function get_data() {
	return $this->response->body;
}