Kirby 2 Docs
❌ Kirby 2 has reached its end of life. Migrate to a current version and
upgrade your v2 license now
.
$media->filename()
Returns the full filename including extension
return
(string)
Example
<?= $media->filename(); ?>
↑
Toolkit API overview
←
$media->extension()
→
$media->hash()
↓
Back to Toolkit API section
Top