$kirby->file()
Finds any file in the content directory
Parameters
Name | Type | Default |
---|---|---|
$path * | string |
– |
$parent | mixed |
null |
$drafts | bool |
true |
Return type
Kirby\Cms\File
|null
Finds any file in the content directory
Name | Type | Default |
---|---|---|
$path * | string |
– |
$parent | mixed |
null |
$drafts | bool |
true |
Kirby\Cms\File
|null