Skip to content

Kirby 5.0.4

$fileActions->unpublish()

Remove all public versions of this file

$fileActions->unpublish(bool $onlyMedia = false): Kirby\Cms\FileActions

Parameters

Name Type Default
$onlyMedia bool false

Return type

Kirby\Cms\FileActions

This method modifies the existing $fileactions object it is applied to and returns it again.

Parent class

Kirby\Cms\FileActions