$file->unpublish()
Remove all public versions of this file
$file->unpublish(bool $onlyMedia = false): Kirby\Cms\File
Parameters
Name | Type | Default |
---|---|---|
$onlyMedia | bool |
false |
Return type
This method modifies the existing $file
object it is applied to and returns it again.