Function API/wp remote retrieve header
Description
Retrieve a single header by name from the raw response.
Parameters
- $response
- (array) (required) no description
- Default: None
- $header
- (string) (required) Header name to retrieve value from.
- Default: None
Return Values
- (string)
- The header value. Empty string on if incorrect parameter given, or if the header doesnt exist.
Change Log
Since: 2.7.0
Source File
wp_remote_retrieve_header() is located in wp-includes/http.php