Action hook 'deleted_plugin'

in WP Core File wp-admin/includes/plugin.php at line 1002

Description

Fires immediately after a plugin deletion attempt.

Occurrences

Filename Line Number
wp-admin/includes/plugin.php 1002

Parameters

Type Name Description
string $plugin_file Path to the plugin file relative to the plugins directory.
bool $deleted Whether the plugin deletion was successful.

PHP Doc

/**
		 * Fires immediately after a plugin deletion attempt.
		 *
		 * @since 4.4.0
		 *
		 * @param string $plugin_file Path to the plugin file relative to the plugins directory.
		 * @param bool   $deleted     Whether the plugin deletion was successful.
		 */