A WordPress-centric search engine for devs and theme authors



deleted_plugin ›

Since4.4.0
Deprecatedn/a
do_action( 'deleted_plugin', $plugin_file, $deleted )
Parameters: (2)
  • (string) $plugin_file Plugin file name.
    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 );