summaryrefslogtreecommitdiffstats
path: root/includes/giglog_visitor_display.php
blob: 8177cb85586f1ac6a7ed64bf5e73383b5d9b4cfc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php declare(strict_types=1);
function display_giglog()
{
        require_once __DIR__ . '/admin/views/_concerts_table.php';
		require_once __DIR__ . '/view-helpers/select_field.php';
		require_once __DIR__ . '/venue.php';
		require_once __DIR__ . '/concert.php';
        $c = new GiglogAdmin_ConcertsTable();
        $html = $c->render();
		return ($html);
}

add_shortcode('getconcerts', 'display_giglog');
?>