Last updated: Mon, Apr 17, 2023 7:24 am
Return to Knowledgebase
Used to disable all hooks registered by a specific plugin.
||A string representing the name of the plugin whose hooks should be disabled.
||Description of Returned Data
The deRegisterHooks function in UserSpice is used to disable all hooks registered by a specific plugin. Here's the documentation for this function:
Suppose you have a plugin named "my_plugin" and you want to disable all hooks registered by it. You can call the deRegisterHooks function like this:
This will disable all hooks registered by the "my_plugin" plugin in the us_plugin_hooks table in the UserSpice database.