adding export button for events in the dashboard widget adminhooks data
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 27 Sep 2018 20:39:26 +0000 (16:39 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 27 Sep 2018 20:39:26 +0000 (16:39 -0400)
setup/adminHooks.php

index 2af6ae4..099155a 100644 (file)
@@ -267,6 +267,13 @@ add_filter(
                             'content'   => 'Add Event',
                             'url'       => $eventsIndexPage . "&option=add",
                             'classes'   => '',
+                            'styles'    => ''
+                        ],
+                        'export-button' => [
+                            'content'   => 'Export',
+                            'url'       => '#',
+                            'classes'   => 'btn-small',
+                            'styles'    => ''
                         ],
                     ],
                 ],