wpseek.com
A WordPress-centric search engine for devs and theme authors



delete_plugin › WordPress Action Hooks

Since4.4.0
Deprecatedn/a
do_action( 'delete_plugin', $plugin_file )
Parameters:
  • (string) $plugin_file Path to the plugin file relative to the plugins directory.
    Required: Yes
Defined at:
Codex:

Fires immediately before a plugin deletion attempt.





Source

do_action( 'delete_plugin', $plugin_file );