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)


Top ↑

Source

File: wp-includes/Requests/Cookie.php

	public static function parseFromHeaders(Requests_Response_Headers $headers) {
		return self::parse_from_headers($headers);
	}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.