Requests_Cookie::formatForSetCookie()publicWP 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.

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 6.0

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