This page redirects to an external site: https://developer.wordpress.org/reference/hooks/deactivated_plugin/
This hook is run immediately after any plugin is deactivated, and may be used to detect the deactivation of other plugins.
function detect_plugin_deactivation( $plugin, $network_activation ) {
// do stuff
}
add_action( 'deactivated_plugin', 'detect_plugin_deactivation', 10, 2 );