Uses
Uses | Description |
---|---|
wp-includes/Requests/Cookie.php: Requests_Cookie::parse() | Parse a cookie string into a cookie object |
Normalise cookie data into a Requests_Cookie
(string|Requests_Cookie) (Required)
File: wp-includes/Requests/Cookie/Jar.php
public function normalize_cookie($cookie, $key = null) { if ($cookie instanceof Requests_Cookie) { return $cookie; } return Requests_Cookie::parse($cookie, $key); }
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests_cookie_jar/normalize_cookie