WP_HTTP_Requests_Response::__construct( WpOrgRequestsResponse $response, string $filename =  )

In this article

Constructor.

Parameters

$responseWpOrgRequestsResponserequired
HTTP response.
$filenamestringoptional
File name.

Default:''

Source

public function __construct( WpOrg\Requests\Response $response, $filename = '' ) {
	$this->response = $response;
	$this->filename = $filename;
}

Changelog

VersionDescription
4.6.0Introduced.

User Contributed Notes

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