activated_plugin, $plugin, $network_wide
activated_plugin, $plugin, $network_wide
Appears in: 7.0.3
Hook Type: action
Displaying hooks found in version: 7.0.3do_action('activated_plugin, $plugin, $network_wide') is found 1 times:
- /wp-admin/includes/plugin.php line 730
* @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( 'activated_plugin', $plugin, $network_wide ); } if ( ob_get_length() > 0 ) { $output = ob_get_clean(); return new WP_Error( 'unexpected_output', __( 'The plugin generated unexpected output.' ), $output ); }