get
elseif($field_key == 'sale_place_custom'){ $spc_array = json_decode(htmlspecialchars_decode($field_value), true); $spc_ret = array(); foreach($spc_array as $item_spc){ $spc_ret[] = $item_spc['region']; } $ret['project']['sale_place_custom'] = $spc_ret; }