projects
/
WP-Plugins
/
glm-member-db-events.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d500e03
)
adding the search fields in the admin hooks for the events dashboard widget
author
Anthony Talarico
<talarico@gaslightmedia.com>
Wed, 26 Sep 2018 16:43:54 +0000
(12:43 -0400)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Wed, 26 Sep 2018 16:43:54 +0000
(12:43 -0400)
setup/adminHooks.php
patch
|
blob
|
history
diff --git
a/setup/adminHooks.php
b/setup/adminHooks.php
index
4ce29ea
..
850e380
100644
(file)
--- a/
setup/adminHooks.php
+++ b/
setup/adminHooks.php
@@
-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",