WpOrg\Requests

Requests::head()public staticWP 1.0

Send a HEAD request

Method of the class: Requests{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = Requests::head( $url, $headers, $options );
$url (required)
-
$headers **
-
Default: []
$options **
-
Default: []

Requests::head() code WP 6.6.2

public static function head($url, $headers = [], $options = []) {
	return self::request($url, $headers, null, self::HEAD, $options);
}