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

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


Parameters

$plugin string
Path to the plugin file relative to the plugins directory.
$uninstallable_plugins array
Uninstallable plugins.

Top ↑

Source

File: wp-admin/includes/plugin.php. View all references

do_action( 'pre_uninstall_plugin', $plugin, $uninstallable_plugins );


Top ↑

Changelog

Changelog
Version Description
4.5.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.