Hooks & Actions: Hooks invoked with __call incorrectly flagged as missing
-
The Hooks & Actions display does a great job of showing which hook handling functions are invoked.
But when a hook handler in a class is invoked via php’s __call() magic method, the display paints its name in red. Maybe that’s intentional: using __call() to allow invoking nonexistent methods is a code smell for sure.
But maybe this plugin should paint its name in brown or something instead of red?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Hooks & Actions: Hooks invoked with __call incorrectly flagged as missing’ is closed to new replies.