WP_HTTP_Requests_Hooks::__construct( string $url, array $request )

Constructor.

Parameters

$url

(string) (Required) URL to request.

$request

(array) (Required) Request data in WP_Http format.

Source

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

public function __construct( $url, $request ) {
		$this->url     = $url;
		$this->request = $request;
	}

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_http_requests_hooks/__construct