non-anonymous class
-
For some times, the
gform_after_emailstarted referencing(new Notifications)->delete_filesinstead of the former globally-scopedjbl_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.