WordPress at Your Fingertips
action is not described

activated_plugin action-hook . WP 2.9.0

Fires after a plugin has been activated.

If a plugin is silently activated (such as during an update), this hook does not fire.


add_action( 'activated_plugin', 'action_function_name_8297', 10, 2 );
function action_function_name_8297( $plugin, $network_wide ){
	// action...
Path to the plugin file relative to the plugins directory.
Whether to enable the plugin for all sites in the network or just the current site. Multisite only.
Default: false

Where the hook is called

wp-admin/includes/plugin.php 725
do_action( 'activated_plugin', $plugin, $network_wide );

Where in WP core the hook is used WordPress

Usage not found.