do_action( 'pre_uninstall_plugin', string $plugin, array $uninstallable_plugins )

Fires in uninstall_plugin() immediately before the plugin is uninstalled.


Parameters

$plugin

Path to the main plugin file from plugins directory.

$uninstallable_plugins

Uninstallable plugins.


Source

File: wp-admin/includes/plugin.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.5.0 Introduced.