WordPress at a glance
action is not described

pre_uninstall_plugin action-hook . WP 4.5.0

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


add_action( 'pre_uninstall_plugin', 'action_function_name_8575', 10, 2 );
function action_function_name_8575( $plugin, $uninstallable_plugins ){
	// action...
Path to the plugin file relative to the plugins directory.
Uninstallable plugins.

Where the hook is called

wp-admin/includes/plugin.php 1181
do_action( 'pre_uninstall_plugin', $plugin, $uninstallable_plugins );

Where the hook is used (in WP core)

Использование не найдено.