WP_HTTP_Response::get_data()publicWP 4.4.0

Retrieves the response data.

Method of the class: WP_HTTP_Response{}

No Hooks.

Return

Mixed. Response data.

Usage

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

Changelog

Since 4.4.0 Introduced.

WP_HTTP_Response::get_data() code WP 6.5.4

public function get_data() {
	return $this->data;
}