WpOrg\Requests

Session::headpublicWP 1.0

Send a HEAD request

Method of the class: Session{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Session = new Session();
$Session->head( $url, $headers, $options );
$url(required)
.
$headers
.
Default: []
$options
.
Default: []

Session::head() code WP 7.0

public function head($url, $headers = [], $options = []) {
	return $this->request($url, $headers, null, Requests::HEAD, $options);
}