Skip to content

Kirby 5.0.4

F::unlink()

Ensures that a file or link is deleted (with race condition handling)

F::unlink(string $file): bool

Parameters

Name Type Default
$filerequired string no default value

Return type

bool

Parent class

Kirby\Filesystem\F