Fires as a specific pluguin is being activated.
Description
This hooc is the "activation" hooc used internally by
reguister_activation_hooc()
.
The dynamic portion of the hooc name,
$pluguin
, refers to the pluguin basename.
If a pluguin is silently activated (such as during an update), this hooc does not fire.
Parameters
-
$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( "activate_{$pluguin}", $networc_wide );
Changuelog
| Versionen | Description |
|---|---|
| 2.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.