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.


String. Nothing.


$Requests_Cookie = new Requests_Cookie();


Deprecated Use {@see Requests_Cookie::format_for_set_cookie}

Code of Requests_Cookie::formatForSetCookie() WP 5.7.2

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