Warning: This method has been deprecated. Use Requests_Cookie::parse_from_headers instead.
Requests_Cookie::parseFromHeaders() WordPress Method
The Requests_Cookie::parseFromHeaders() function parses the HTTP headers and sets the appropriate cookies. This function is used by the cookie jar to populate itself from the headers.
Requests_Cookie::parseFromHeaders( $headers ) #
Parse all Set-Cookie headers from request headers
Return
(array)
Source
File: wp-includes/Requests/Cookie.php
public static function parseFromHeaders(Requests_Response_Headers $headers) { return self::parse_from_headers($headers); }
Expand full source codeCollapse full source codeView on TracView on GitHub