WordPress at a glance
функция не описана

Requests_Cookie::formatForSetCookie() public WP 1.0

Deprecated in . 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{}

Хуков нет.

Возвращает

String.

Использование

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

Changelog

Deprecated Use {@see Requests_Cookie::format_for_set_cookie}

Код Requests_Cookie::formatForSetCookie() WP 5.5.1

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