activate_{$plugin}
最后更新于:2021-11-25 19:07:50
do_action( “activate_{$plugin}”, bool $network_wide )
Fires as a specific plugin is being activated.
参数
- $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