summaryrefslogtreecommitdiffstats
path: root/includes/giglog_visitor_display.php
blob: b803bec4145de484b83025d47437cb801df431f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?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' );