← Back
Editing: list.php
<?php /** * The template to render the list of Layout cards. * * @since 5.16.0 * * @version 5.16.0 * * @var Layout_Card[] $cards The Layout cards array. */ use TEC\Tickets\Seating\Admin\Tabs\Layout_Card; if ( empty( $cards ) ) { $this->template( 'components/layouts/empty' ); return; } ?> <div class="tec-tickets__seating-tab__cards"> <?php foreach ( $cards as $card ) { $this->template( 'components/layouts/card', [ 'card' => $card ] ); } ?> </div>
Save File
Cancel