WordPress at a glance
function is not described

Requests_Cookie::formatForHeader() public WP 1.0

Deprecated in . It is no longer supported and can be removed in future releases. See {@see Requests_Cookie::format_for_header}.

Format a cookie for a Cookie header

{} It's a method of the class: Requests_Cookie{}

No Hooks.

Return

String.

Usage

$Requests_Cookie = new Requests_Cookie();
$Requests_Cookie->formatForHeader();

Changelog

Deprecated Use {@see Requests_Cookie::format_for_header}

Code of Requests_Cookie::formatForHeader() WP 5.5.1

<?php
public function formatForHeader() {
	return $this->format_for_header();
}