changing the db fields values in the adminhooks filter for the widgets
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 19 Sep 2018 19:39:38 +0000 (15:39 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 19 Sep 2018 19:39:38 +0000 (15:39 -0400)
setup/adminHooks.php

index 38a3022..2f7c6c4 100644 (file)
@@ -90,7 +90,8 @@ add_filter(
                 'table' => GLM_MEMBERS_PACKAGING_PLUGIN_DB_PREFIX."packages",
                 'fields' => [
                     'id',
-                    'name',
+                    'title',
+                    'image'
                 ],
                 //'where' => 'status = '.$this->config['status_numb']['Expired']
             ]