Uma área de pesquisa sobre o WordPress para devs e autores do tema



pre_uninstall_plugin ›

Desde4.5.0
Obsoleton/a
do_action( 'pre_uninstall_plugin', $plugin, $uninstallable_plugins )
Parâmetros: (2)
  • (string) $plugin Path to the plugin file relative to the plugins directory.
    Required: Yes
  • (array) $uninstallable_plugins Uninstallable plugins.
    Required: Yes
Definido em:
Codex:

Fires in uninstall_plugin() immediately before the plugin is uninstalled.





Fonte

do_action( 'pre_uninstall_plugin', $plugin, $uninstallable_plugins );