W3cubDocs

/WordPress

WP_Http_Cookie::getFullHeader(): string

Retrieve cookie header for usage in the rest of the WordPress HTTP API.

Return

string

Source

public function getFullHeader() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid
	return 'Cookie: ' . $this->getHeaderValue();
}

Changelog

Version Description
2.8.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_http_cookie/getfullheader