I've been searching for where this could be in the code for ages, but can't see it - has anyone come across it before? Any tips would be very welcome .
When I tried doing this recently, I created a custom class with my code changed, and then eval'd a class with the name of the XF class extending my class.
It's incredibly hacky, and not recommended at all.