HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: /var/www/html/triad-infosec/wp-content/plugins/the-events-calendar/src/views/v2/latest-past.php
<?php
/**
 * View: Latest Past View
 *
 * Override this template in your own theme by creating a file at:
 * [your-theme]/tribe/events/v2/latest-past.php
 *
 * See more documentation about our views templating system.
 *
 * @link http://evnt.is/1aiy
 *
 * @version 5.1.0
 *
 * @var array $events The array containing the events.
 */

if ( count( $events ) === 0 ) {
	return;
}
?>
<div class="tribe-events-calendar-latest-past">

	<?php $this->template( 'latest-past/heading' ); ?>

	<?php foreach ( $events as $event ) : ?>
		<?php $this->setup_postdata( $event ); ?>

		<?php $this->template( 'latest-past/event', [ 'event' => $event ] ); ?>

	<?php endforeach; ?>

</div>