PostNuke Help

Previous
Registering Hooks

Home
up

Next
Function Calls


Unregistering Hooks

If your module has hook-capable functions that are registered when the module is initialised they need to be unregistered when the module is deleted. This is carried out through use of the pnModUnregisterHook() function. This function should be placed within the modname_delete() function of your module and given appropriate parameters to unregister the functions that were previously registered hooks when the module was initialised.

The pnModUnregisterHook() function takes the same parameters as the pnModUnregisterHook() function.

The Ratings module that comes with the core PostNuke distribution has detailed comments on unregistering hooks within a utility module.


Previous
Registering Hooks

Home
up

Next
Function Calls