Codex

Function API/wp remote retrieve headers

Contents

Description

Retrieve only the headers from the raw response.

Parameters

$response
(array) (required) HTTP response.
Default: None

Return Values

(array) 
The headers of the response. Empty array if incorrect parameter given.

Change Log

Since: 2.7.0

Source File

wp_remote_retrieve_headers() is located in wp-includes/http.php