deactivated_plugin

最后更新于:2021-11-26 04:16:28

do_action( ‘deactivated_plugin’, string $plugin, bool $network_deactivating )

Fires after a plugin is deactivated.

参数

$plugin

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

$network_deactivating

(bool)
Whether the plugin is deactivated for all sites in the network or just the current site. Multisite only. Default false.

源文件

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

View on Trac