WordPress at a glance
function is not described

Requests_Cookie::formatForSetCookie() public WP 1.0

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

Format a cookie for a Set-Cookie header

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

No Hooks.

Return

String. Nothing.

Usage

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

Changelog

Deprecated Use {@see Requests_Cookie::format_for_set_cookie}

Code of Requests_Cookie::formatForSetCookie() WP 5.7.2

<?php
public function formatForSetCookie() {
	return $this->format_for_set_cookie();
}