From: Anthony Talarico Date: Wed, 19 Sep 2018 19:39:38 +0000 (-0400) Subject: changing the db fields values in the adminhooks filter for the widgets X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=985b4d6c43131e3010e30c0ae75562aaf23cdd66;p=WP-Plugins%2Fglm-member-db-packaging.git changing the db fields values in the adminhooks filter for the widgets --- diff --git a/setup/adminHooks.php b/setup/adminHooks.php index 38a3022..2f7c6c4 100644 --- a/setup/adminHooks.php +++ b/setup/adminHooks.php @@ -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'] ]