Um, why aren't you using the XML interface? Just curious.
Posted: May 29th, 2013, 02:47 PM
So I looked at this and realised that by necessity it must do that seeing how it needs all three parameters to be able to get the plugin id. But in almost every case a plugin should be using the XML interface; it should only ever need the hook directly if it's going to dynamically generate actions that aren't pre-known at the point of registering the plugin.