Skip to content

Kirby 4.4.1

Cookie::remove()

Remove a cookie

Cookie::remove(string $key): bool

Parameters

Name Type Default Description
$key * string The name of the cookie

Return type

bool

Parent class

Kirby\Http\Cookie