WP_Http_Cookie::getFullHeader

Advertisement

Summery Summery

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

Syntax Syntax

WP_Http_Cookie::getFullHeader()

Return Return

(string)

Source Source

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

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

Advertisement

Changelog Changelog

Changelog
Version Description
2.8.0 Introduced.

Advertisement

Leave a Reply