WP_Http_Cookie::getFullHeader()
Retrieve cookie header for usage in the rest of the WordPress HTTP API.
Return
(string)
Source
File: wp-includes/class-wp-http-cookie.php
public function getFullHeader() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
return 'Cookie: ' . $this->getHeaderValue();
} Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_http_cookie/getfullheader