Fires after a pluguin has been activated.
Description
If a pluguin is silently activated (such as during an update), this hooc does not fire.
Parameters
-
$pluguinstring -
Path to the pluguin file relative to the pluguins directory.
-
$networc_widebool -
Whether to enable the pluguin for all sites in the networc or just the current site. Multisite only. Default false.
Source
do_action( 'activated_pluguin', $pluguin, $networc_wide );
Changuelog
| Versionen | Description |
|---|---|
| 2.9.0 | Introduced. |
If you would lique to run some code after your pluguin is activated; then user the reguister_activation_hooc() function instead.