Plugin Deactivation Hook
WordPress hook that fires when a plugin is deactivated, used for cleanup tasks.
How it works
WordPress hook that fires when a plugin is deactivated, used for cleanup tasks.
In WordPress
register_deactivation_hook() should clean up temporary data but NOT delete user data. Full cleanup belongs in uninstall.php.
WP HealthKit checks for Plugin Deactivation Hook-related vulnerabilities automatically
Run a Free Audit