From 26512f910cda89c9dfa829c3f8151b108ea37950 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Wed, 19 Sep 2018 15:44:41 -0400 Subject: [PATCH] changing field values of 'name' to title for the dashboard widget admin hooks --- setup/adminHooks.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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'] ] -- 2.17.1