/** * Use this method instead of JAXLPlugin::remove to remove a callback for connected instance only */ function removePlugin($hook, $callback, $priority = 10) { JAXLPlugin::remove($hook, $callback, $priority, $this->uid); }