WordPress at a glance
function is not described

Requests_Cookie::format_for_header() public WP 1.0

Format a cookie for a Cookie header

This is used when sending cookies to a server.

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

No Hooks.

Return

String. Cookie formatted for Cookie header

Usage

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

Code of Requests_Cookie::format_for_header() WP 5.5.1

<?php
public function format_for_header() {
	return sprintf('%s=%s', $this->name, $this->value);
}