Automattic\WooCommerce\Admin\PluginsInstallLoggers
PluginsInstallLogger::installed()
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() PluginsInstallLogger::installed code WC 9.2.3
public function installed( string $plugin_name, int $duration);