summaryrefslogtreecommitdiffstats
path: root/includes/giglog_visitor_display.php
blob: b4742f59ca5fa42e1c9db94362ceb98590e2cc6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php declare(strict_types=1);
// SPDX-FileCopyrightText: 2022 Andrea Chirulescu <andrea.chirulescu@gmail.com>
// SPDX-FileCopyrightText: 2022 Harald Eilertsen <haraldei@anduin.net>
//
// SPDX-License-Identifier: AGPL-3.0-or-later

function display_giglog() : string
{
    $c = new GiglogAdmin_ConcertsTable();
    return $c->render();
}

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