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



deleted_plugin › WordPress Action Hooks

Since4.4.0
Deprecatedn/a
do_action( 'deleted_plugin', $plugin_file, $deleted )
Parameters: (2)
  • (string) $plugin_file Path to the plugin file relative to the plugins directory.
    Required: Yes
  • (bool) $deleted Whether the plugin deletion was successful.
    Required: Yes
Defined at:
Codex:

Fires immediately after a plugin deletion attempt.





Source

do_action( 'deleted_plugin', $plugin_file, $deleted );