projects
/
WP-Plugins
/
glm-member-db-packaging.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
985b4d6
)
changing field values of 'name' to title for the dashboard widget admin hooks
author
Anthony Talarico
<talarico@gaslightmedia.com>
Wed, 19 Sep 2018 19:44:41 +0000
(15:44 -0400)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Wed, 19 Sep 2018 19:44:41 +0000
(15:44 -0400)
setup/adminHooks.php
patch
|
blob
|
history
diff --git
a/setup/adminHooks.php
b/setup/adminHooks.php
index
2f7c6c4
..
85488a2
100644
(file)
--- a/
setup/adminHooks.php
+++ b/
setup/adminHooks.php
@@
-71,7
+71,8
@@
add_filter(
'table' => GLM_MEMBERS_PACKAGING_PLUGIN_DB_PREFIX."packages",
'fields' => [
'id',
- 'name',
+ 'title',
+ 'image'
]
],
'pending' => [
@@
-80,7
+81,7
@@
add_filter(
'table' => GLM_MEMBERS_PACKAGING_PLUGIN_DB_PREFIX."packages",
'fields' => [
'id',
- '
nam
e',
+ '
titl
e',
],
'where' => 'status = '.$this->config['status_numb']['Pending']
],
@@
-91,7
+92,6
@@
add_filter(
'fields' => [
'id',
'title',
- 'image'
],
//'where' => 'status = '.$this->config['status_numb']['Expired']
]