Title: non-anonymous class
Last modified: May 20, 2020

---

# non-anonymous class

 *  [drzraf](https://wordpress.org/support/users/drzraf/)
 * (@drzraf)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/non-anonymous-class/)
 * For some times, the `gform_after_email` started referencing `(new Notifications)-
   >delete_files` instead of the former globally-scoped `jbl_gfuaa_delete_files`.
 * But this object is anonymous (in the sense of being stored in no globally accessible
   variable).
    As such this hook not only can’t be removed, but can not even be *
   detected*.
 * I used to rely on `has_action('gform_after_email', 'jbl_gfuaa_delete_files')`
   and now have no alternative.
 * Could this be somehow changed?
    Thank you.

The topic ‘non-anonymous class’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/gf-uploads-as-attachments.svg)
 * [Gravity Forms - Uploads as Attachments](https://wordpress.org/plugins/gf-uploads-as-attachments/)
 * [Support Threads](https://wordpress.org/support/plugin/gf-uploads-as-attachments/)
 * [Active Topics](https://wordpress.org/support/plugin/gf-uploads-as-attachments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gf-uploads-as-attachments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gf-uploads-as-attachments/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [drzraf](https://wordpress.org/support/users/drzraf/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/non-anonymous-class/)
 * Status: not resolved