Automattic\WooCommerce\Admin\PluginsInstallLoggers

PluginsInstallLogger::installed()publicWC 1.0

Called when a plugin installed successfully.

Method of the class: PluginsInstallLogger{}

No Hooks.

Return

Mixed.

Usage

$PluginsInstallLogger = new PluginsInstallLogger();
$PluginsInstallLogger->installed( $plugin_name, $duration );
$plugin_name(string) (required)
plugin name.
$duration(int) (required)
# of seconds it took to install $plugin_name.

PluginsInstallLogger::installed() code WC 9.2.3

public function installed( string $plugin_name, int $duration);