activate_plugin, $plugin, $network_wide
activate_plugin, $plugin, $network_wide
Appears in: 7.0.3
Hook Type: action
Displaying hooks found in version: 7.0.3do_action('activate_plugin, $plugin, $network_wide') is found 1 times:
- /wp-admin/includes/plugin.php line 688
* @param string $plugin Path to the plugin file relative to the plugins directory. * @param bool $network_wide Whether to enable the plugin for all sites in the network * or just the current site. Multisite only. Default false. */ do_action( 'activate_plugin', $plugin, $network_wide ); /** * Fires as a specific plugin is being activated. * * This hook is the "activation" hook used internally by register_activation_hook(). * The dynamic portion of the hook name, `$plugin`, refers to the plugin basename.