Summery Summery
Format a cookie for a Cookie header
Syntax Syntax
Description Description
This is used when sending cookies to a server.
Return Return
(string) Cookie formatted for Cookie header
Source Source
File: wp-includes/Requests/Cookie.php
public function format_for_header() { return sprintf('%s=%s', $this->name, $this->value); }