From 1c4207622ee0deb83aa759206fe56739b1c19918 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Mon, 5 Apr 2021 09:24:22 +0200 Subject: Make concert table buttons work. Moved processing of POST requests to it's own method, and added a visual clue that a slot has been selected. Also moved relevant code into the AdminPage class. --- giglogadmin.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'giglogadmin.php') diff --git a/giglogadmin.php b/giglogadmin.php index d610fe8..8c040aa 100644 --- a/giglogadmin.php +++ b/giglogadmin.php @@ -65,6 +65,8 @@ if ( !class_exists( 'GiglogAdmin_Plugin' ) ) { 'dashicons-tickets-alt', // Icon url 11); // Position, just below 'Media' + add_action( 'load-' . $top, array( 'GiglogAdmin_AdminPage', 'update' ) ); + $import_hook = add_submenu_page( "giglog", // parent slug "Import gigs", // page title -- cgit v1.2.3