diff options
Diffstat (limited to 'includes/giglog_visitor_display.php')
-rw-r--r-- | includes/giglog_visitor_display.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/includes/giglog_visitor_display.php b/includes/giglog_visitor_display.php new file mode 100644 index 0000000..8177cb8 --- /dev/null +++ b/includes/giglog_visitor_display.php @@ -0,0 +1,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'); +?> |