diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2021-09-04 16:09:07 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2021-09-04 16:09:07 +0200 |
commit | 08f09666f7028463bfd9b69ac5fb9e8e06aa79ad (patch) | |
tree | ef44ac195df7af3980039830077c6cf731eb2876 /giglogadmin.php | |
parent | 2b54c76bec008bed8b910183cf4e98795c7a446a (diff) | |
download | gigologadmin-08f09666f7028463bfd9b69ac5fb9e8e06aa79ad.tar.gz gigologadmin-08f09666f7028463bfd9b69ac5fb9e8e06aa79ad.tar.bz2 gigologadmin-08f09666f7028463bfd9b69ac5fb9e8e06aa79ad.zip |
Remove obsolete shortcodes.
These are no longer in use, and have been replaced by the admin screens.
Diffstat (limited to 'giglogadmin.php')
-rw-r--r-- | giglogadmin.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/giglogadmin.php b/giglogadmin.php index 2db1f3b..e9adbe2 100644 --- a/giglogadmin.php +++ b/giglogadmin.php @@ -26,10 +26,6 @@ if ( !class_exists( 'GiglogAdmin_Plugin' ) ) { require_once __DIR__ . '/includes/admin/register_db_tables.php'; - 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_photographers.php'; - require_once __DIR__ . '/includes/public/shortcodes/giglog_process_files.php'; require_once __DIR__ . '/includes/admin/views/giglog_admin_page.php'; require_once __DIR__ . '/includes/admin/views/giglog_import_gigs.php'; require_once __DIR__ . '/includes/admin/helpfiles/instrunctions.php'; @@ -41,12 +37,6 @@ if ( !class_exists( 'GiglogAdmin_Plugin' ) ) { class GiglogAdmin_Plugin { static public function init(): void { - 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'); - add_shortcode('giglog_photog', 'giglogadmin_photographers'); - add_action( 'admin_menu', array( 'GiglogAdmin_Plugin', 'add_admin_pages' )); add_action( 'admin_menu', array( 'GiglogAdmin_Plugin', 'add_help_pages' )); @@ -143,7 +133,6 @@ if ( !class_exists( 'GiglogAdmin_Plugin' ) ) { register_activation_hook( __FILE__, array( 'GiglogAdmin_Plugin', 'activate' )); register_deactivation_hook( __FILE__, array( 'GiglogAdmin_Plugin', 'deactivate' )); - GiglogAdmin_Plugin::init(); } ?> |