WordPress at Your Fingertips
action is not described

deleted_plugin action-hook . WP 4.4.0

Fires immediately after a plugin deletion attempt.


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

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.