Home > Developer Guide > Hooks and events > Extension Lifecycle Hooks
hook_civicrm_uninstall
Summary
This hook is called when an extension is uninstalled.
Definition
hook_civicrm_uninstall()
Notes
To be specific, when its status changes from disabled to uninstalled.
Each module will receive hook_civicrm_uninstall during its own
uninstallation (but not during the uninstallation of unrelated modules).
Parameters
- None
Returns
- Void