function remove_after() { // remove file, if any $current = $this->get_fvalue(); if (!empty($current)) { $vf = $this->get_value(); $vf['type'] = $this->type_string; $this->get_container()->format_field_on_remove($vf, $current, $current); } return parent::remove_after(); }