Skip to content

Kirby 4.5.0

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