W3cubDocs

/WordPress

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

Alter remote path before getting stream data

Parameters

$pathstringrequired
Path to send in HTTP request string ("GET …")
$urlstringrequired
Full URL we’re requesting

Source

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

Changelog

Version Description
1.6 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wporg-requests-proxy-http/fsockopen_remote_host_path