Title: Requests::head
Published: March 29, 2023
Last modified: November 8, 2023

---

# Requests::head( $url,  $headers = array(),  $options = array() )

[ Back to top](https://developer.wordpress.org/reference/classes/wporg-requests-requests/head/?output_format=md#wp--skip-link--target)

Send a HEAD request

## Source

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

[View all references](https://developer.wordpress.org/reference/files/wp-includes/requests/src/requests.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.1/src/wp-includes/Requests/src/Requests.php#L311)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/Requests/src/Requests.php#L311-L313)

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fwporg-requests-requests%2Fhead%2F)
before being able to contribute a note or feedback.