summaryrefslogtreecommitdiffstats
path: root/giglogadmin.php
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-01-17 22:12:28 +0100
committerHarald Eilertsen <haraldei@anduin.net>2021-01-17 22:12:28 +0100
commit6671fd89be0de385076eef4a663ac23034e3a95b (patch)
tree9976496ed0a84cde2334a4c73933a23742a83d17 /giglogadmin.php
parent6ecbb6d833d435c10cf4b1413945054cfad4895b (diff)
downloadgigologadmin-6671fd89be0de385076eef4a663ac23034e3a95b.tar.gz
gigologadmin-6671fd89be0de385076eef4a663ac23034e3a95b.tar.bz2
gigologadmin-6671fd89be0de385076eef4a663ac23034e3a95b.zip
Add shortcode to upload files.
Diffstat (limited to 'giglogadmin.php')
-rw-r--r--giglogadmin.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/giglogadmin.php b/giglogadmin.php
index da35bf7..1dc7bf0 100644
--- a/giglogadmin.php
+++ b/giglogadmin.php
@@ -20,6 +20,7 @@
if ( !class_exists( 'GiglogAdmin_Plugin' ) ) {
require_once __DIR__ . '/includes/public/shortcodes/giglog_bands.php';
require_once __DIR__ . '/includes/public/shortcodes/giglog_display_unprocessed.php';
+ require_once __DIR__ . '/includes/public/shortcodes/giglog_process_files.php';
class GiglogAdmin_Plugin
{
@@ -27,6 +28,7 @@ if ( !class_exists( 'GiglogAdmin_Plugin' ) ) {
add_shortcode('giglog_cities', 'giglogadmin_getfilters');
add_shortcode('giglog_bands', 'giglogadmin_getconcerts');
add_shortcode('giglog_unprocessed', 'giglogadmin_display_unprocessed');
+ add_shortcode('giglog_upload', 'giglogadmin_upload_files');
}
static function activate() {