Skip to content

Kirby 4.5.0

Media::publish()

Copy the file to the final media folder location

Media::publish(Kirby\Cms\File $file, string $dest): bool

Parameters

Name Type Default
$file * Kirby\Cms\File
$dest * string

Return type

bool

Parent class

Kirby\Cms\Media