WP_Http_Cookie::getFullHeader()

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


Description


Return

(string)


Top ↑

Source

File: wp-includes/class-wp-http-cookie.php

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

Top ↑

Changelog

Version Description
2.8.0 Introduced.