pre_uninstall_plugin

最后更新于:2021-11-27 20:22:06

do_action( ‘pre_uninstall_plugin’, string $plugin, array $uninstallable_plugins )

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

参数

$plugin

(string)
Path to the plugin file relative to the plugins directory.

$uninstallable_plugins

(array)
Uninstallable plugins.

源文件

文件: gc-admin/includes/plugin.php

View on Trac