Requests_Proxy_HTTP::fsockopen_remote_host_path( string $path, string $url )

Alter remote path before getting stream data

Parameters

$path

(string) (Required) Path to send in HTTP request string ("GET ...")

$url

(string) (Required) Full URL we're requesting

Source

File: wp-includes/Requests/Proxy/HTTP.php

public function fsockopen_remote_host_path(&$path, $url) {
		$path = $url;
	}

Changelog

Version Description
1.6 Introduced.

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