summaryrefslogtreecommitdiffstats
path: root/includes/giglog_visitor_display.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/giglog_visitor_display.php')
-rw-r--r--includes/giglog_visitor_display.php11
1 files changed, 3 insertions, 8 deletions
diff --git a/includes/giglog_visitor_display.php b/includes/giglog_visitor_display.php
index 8177cb8..567bf41 100644
--- a/includes/giglog_visitor_display.php
+++ b/includes/giglog_visitor_display.php
@@ -1,13 +1,8 @@
<?php declare(strict_types=1);
-function display_giglog()
+function display_giglog() : string
{
- 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);
+ $c = new GiglogAdmin_ConcertsTable();
+ return $c->render();
}
add_shortcode('getconcerts', 'display_giglog');