WordPress\AiClientDependencies\Psr\Http\Message

ServerRequestInterface::getCookieParams │ public │ WP 1.0

Retrieve cookies.

Retrieves cookies sent by the client to the server.

The data MUST be compatible with the structure of the $_COOKIE superglobal.

Метод класса: ServerRequestInterface{}

Хуков нет.

Возвращает

array.

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

$ServerRequestInterface = new ServerRequestInterface();
$ServerRequestInterface->getCookieParams(): array;

Код ServerRequestInterface::getCookieParams() WP 7.1.4

public function getCookieParams(): array;