WP_HTTP_Response::set_data( mixed $data )

In this article

Sets the response data.

Parameters

$datamixedrequired
Response data.

Source

public function set_data( $data ) {
	$this->data = $data;
}

Changelog

VersionDescription
4.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.