WordPress at a glance
action is not described

delete_plugin action-hook . WP 4.4.0

Fires immediately before a plugin deletion attempt.

Usage

add_action( 'delete_plugin', 'action_function_name_4993' );
function action_function_name_4993( $plugin_file ){
	// action...
}
$plugin_file(string)
Path to the plugin file relative to the plugins directory.

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

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

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

delete_plugins()
delete_plugin
wp-admin/includes/plugin.php 975
do_action( 'delete_plugin', $plugin_file );

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

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