$site->hasAudio()

Checks if there are any audio files placed directly in /content

  • return (boolean)

Example

<?php if($site->hasAudio()): ?>
The /content folder contains audio files.
<?php endif ?>

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