Media::unpublish()
Deletes all versions of the given file within the parent directory
Media::unpublish(string $directory, Kirby\Cms\File $file, string $ignore = null): bool
Parameters
Name | Type | Default |
---|---|---|
$directory * | string |
– |
$file * | Kirby\Cms\File |
– |
$ignore | string |
null |
Return type
bool