HummingBirdAnimeClient/app/templates/single-tab.php

5 lines
156 B
PHP

<section class="<?= $className ?>">
<?php foreach ($data as $tabName => $tabData): ?>
<?= $callback($tabData, $tabName) ?>
<?php endforeach ?>
</section>