Fixed a bug in PluginHost::del_hook() where the parameters passed to array_search() were in the incorrect order.