adding the search fields in the admin hooks for the events dashboard widget
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 26 Sep 2018 16:43:54 +0000 (12:43 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 26 Sep 2018 16:43:54 +0000 (12:43 -0400)
setup/adminHooks.php

index 4ce29ea..850e380 100644 (file)
@@ -306,6 +306,13 @@ add_filter(
                     'resultUrl' => $eventsEditPage,
                     'where'     => 'name'
                 ],
+                [
+                    'id'        => 'datetSearch', 
+                    'order'     => 4,
+                    'template'  => 'dateSearch',
+                    'entityID'  => 'event',
+                    'resultUrl' => $eventsEditPage,
+                ],
                 [
                     'id'        => 'pending',
                     'title'     => "Pending Events",