wp_remote_retrieve_headers
wp_remote_retrieve_headers ( $response )
Parameters:- (array|WP_Error) response HTTP response.
See:- WpOrgRequestsUtilityCaseInsensitiveDictionary
Returns:- (WpOrgRequestsUtilityCaseInsensitiveDictionary|array) The headers of the response, or empty array if incorrect parameter given.
Defined at:Change Log: - Introduced in WordPress: 2.7.0
- Deprecated in WordPress: —
Description
Retrieves only the headers from the raw response.