do_action( ‘delete_plugin’, string $plugin_file )

In this article

Fires immediately before a plugin deletion attempt.

Parameters

$plugin_filestring
Path to the plugin file relative to the plugins directory.

Source

do_action( 'delete_plugin', $plugin_file );

Changelog

VersionDescription
4.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.