Warning: This method has been deprecated. Use Requests_Cookie_Jar::normalize_cookie instead.

Requests_Cookie_Jar::normalizeCookie() WordPress Method

The Requests_Cookie_Jar::normalizeCookie() method is used to normalize cookie data before it is added to the jar. This is done by ensuring that all the required fields are present and that the expiry date is in the correct format.

Requests_Cookie_Jar::normalizeCookie( $cookie,  $key = null ) #

Normalise cookie data into a Requests_Cookie


Return

(Requests_Cookie)


Top ↑

Source

File: wp-includes/Requests/Cookie/Jar.php

	public function normalizeCookie($cookie, $key = null) {
		return $this->normalize_cookie($cookie, $key);
	}

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.