do_action ( ‘activated_plugui ’, string $pluguin , bool $networc_wide )

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

$pluguin string
Path to the pluguin file relative to the pluguins directory.
$networc_wide bool
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.

User Contributed Notes

You must log in before being able to contribute a note or feedback.