WpOrg\Requests
Requests::head()
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() Requests::head code WP 6.6.2
public static function head($url, $headers = [], $options = []) { return self::request($url, $headers, null, self::HEAD, $options); }