WpOrg\Requests

Session::head()publicWP 1.0

Send a HEAD request

Method of the class: Session{}

No Hooks.

Return

null. Nothing (null).

Usage

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

Session::head() code WP 6.6.2

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