activated_plugin
最后更新于:2021-11-25 19:06:46
do_action( ‘activated_plugin’, string $plugin, bool $network_wide )
Fires after a plugin has been activated.
参数
- $plugin
-
(string)
Path to the plugin file relative to the plugins directory. - $network_wide
-
(bool)
Whether to enable the plugin for all sites in the network or just the current site. Multisite only. Default false.
源文件
文件: gc-admin/includes/plugin.php