$media->extension()

Returns the file extension

  • return (string)

Example

<?= $media->extension(); ?>

Is something missing or incorrect? Edit this page on Github…