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

Constructor.


Parameters

$url

(Required) URL to request.

$request

(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;
	}