WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Платформа для конвертации и монетизации трафика
функция не описана

YoastSEO_Vendor\Psr\Http\Message

ServerRequestInterface::withCookieParams() public Yoast 1.0

Return an instance with the specified cookies.

The data IS NOT REQUIRED to come from the $_COOKIE superglobal, but MUST be compatible with the structure of $_COOKIE. Typically, this data will be injected at instantiation.

This method MUST NOT update the related Cookie header of the request instance, nor related values in the server params.

This method MUST be implemented in such a way as to retain the immutability of the message, and MUST return an instance that has the updated cookie values.

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

Хуков нет.

Возвращает

static.

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

$ServerRequestInterface = new ServerRequestInterface();
$ServerRequestInterface->withCookieParams( $cookies );
$cookies(массив) (обязательный)
Array of key/value pairs representing cookies.

Код ServerRequestInterface::withCookieParams() Yoast 15.3

<?php
public function withCookieParams(array $cookies);