From: Anthony Talarico Date: Wed, 19 Sep 2018 19:44:41 +0000 (-0400) Subject: changing field values of 'name' to title for the dashboard widget admin hooks X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=26512f910cda89c9dfa829c3f8151b108ea37950;p=WP-Plugins%2Fglm-member-db-packaging.git changing field values of 'name' to title for the dashboard widget admin hooks --- diff --git a/setup/adminHooks.php b/setup/adminHooks.php index 2f7c6c4..85488a2 100644 --- 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', - 'name', + 'title', ], 'where' => 'status = '.$this->config['status_numb']['Pending'] ], @@ -91,7 +92,6 @@ add_filter( 'fields' => [ 'id', 'title', - 'image' ], //'where' => 'status = '.$this->config['status_numb']['Expired'] ]