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.

Usage

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

Список изменений

С версии 4.5.0 Введена.

Где вызывается хук

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

Где используется хук в ядре WP

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