WP_Http_Cookie::getFullHeader()
Retrieve cookie header for usage in the rest of the WordPress HTTP API.
Method of the class: WP_Http_Cookie{}
No Hooks.
Return
String
.
Usage
$WP_Http_Cookie = new WP_Http_Cookie(); $WP_Http_Cookie->getFullHeader();
Changelog
Since 2.8.0 | Introduced. |
WP_Http_Cookie::getFullHeader() WP Http Cookie::getFullHeader code WP 6.7.1
public function getFullHeader() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.MethodNameInvalid return 'Cookie: ' . $this->getHeaderValue(); }