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:
  • 4: .

Description

Retrieves 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