wp_remote_retrieve_headers


wp_remote_retrieve_headers ( $response )

Parameters:
  • (array) $response HTTP response.
See:
  • Requests_Utility_CaseInsensitiveDictionary
Returns:
  • (array|Requests_Utility_CaseInsensitiveDictionary) The headers of the response. Empty array if incorrect parameter given.
Defined at:
Change Log:
  • 4: .

Description

Retrieve only the headers from the raw response.

Related Functions

wp_remote_retrieve_header, wp_remote_retrieve_body, wp_remote_retrieve_cookies, wp_remote_retrieve_cookie, wp_remote_retrieve_cookie_value

Top Google Results

User discussions

wpseek mobile