wp_remote_retrieve_cookies
wp_remote_retrieve_cookies ( $response )
Parameters:- (array|WP_Error) response HTTP response.
Returns:- (WP_Http_Cookie[]) An array of `WP_Http_Cookie` objects from the response. Empty array if there are none, or the response is a WP_Error.
Defined at: - Introduced in WordPress: 4.4.0
- Deprecated in WordPress: —
Description
Retrieves only the cookies from the raw response.