WordPress\AiClientDependencies\Psr\Http\Message
ServerRequestInterface::getCookieParams
Retrieve cookies.
Retrieves cookies sent by the client to the server.
The data MUST be compatible with the structure of the $_COOKIE superglobal.
Method of the class: ServerRequestInterface{}
No Hooks.
Returns
Array.
Usage
$ServerRequestInterface = new ServerRequestInterface(); $ServerRequestInterface->getCookieParams(): array;
ServerRequestInterface::getCookieParams() ServerRequestInterface::getCookieParams code WP 7.0
public function getCookieParams(): array;