Skip to content

Kirby 4.4.1

F::relativepath()

Returns the relative path of the file starting after $in

F::relativepath(string $file, ?string $in = null): string

Parameters

Name Type Default
$file * string
$in string|null null

Return type

string

Parent class

Kirby\Filesystem\F