Skip to content

Kirby 3.9.8

$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