WP_HTTP_Requests_Response::__construct

Advertisement

Summery Summery

Constructor.

Syntax Syntax

WP_HTTP_Requests_Response::__construct( Requests_Response $response, string $filename = '' )

Parameters Parameters

$response

(Requests_Response) (Required) HTTP response.

$filename

(string) (Optional) File name.

Default value: ''

Source Source

File: wp-includes/class-wp-http-requests-response.php

	public function __construct( Requests_Response $response, $filename = '' ) {
		$this->response = $response;
		$this->filename = $filename;
	}

Advertisement

Changelog Changelog

Changelog
Version Description
4.6.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?