A WordPress-centric search engine for devs and theme authors



delete_plugin ›

Since4.4.0
Deprecatedn/a
do_action( 'delete_plugin', $plugin_file )
Parameters:
  • (string) $plugin_file Plugin file name.
    Required: Yes
Defined at:
Codex:

Fires immediately before a plugin deletion attempt.





Source

do_action( 'delete_plugin', $plugin_file );