WordPress at a glance
action is not described

deleted_plugin action-hook . WP 4.4.0

Fires immediately after a plugin deletion attempt.

Usage

add_action( 'deleted_plugin', 'action_function_name_5890', 10, 2 );
function action_function_name_5890( $plugin_file, $deleted ){
	// action...
}
$plugin_file(string)
Path to the plugin file relative to the plugins directory.
$deleted(true/false)
Whether the plugin deletion was successful.

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

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

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

delete_plugins()
deleted_plugin
wp-admin/includes/plugin.php 995
do_action( 'deleted_plugin', $plugin_file, $deleted );

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

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