WooCommerce Code Reference

AsyncPluginsInstallLogger
in package
implements PluginsInstallLogger

A logger to log plugin installation progress in real time to an option.

Interfaces, Classes and Traits

PluginsInstallLogger
A logger used in PluginsHelper::install_plugins to log the installation progress.

Table of Contents

$option_name  : string
Variable to store logs.
__construct()  : mixed
Constructor.
activated()  : void
Change status to activated.
add_error()  : void
Add an error.
complete()  : void
Record completed_time.
get_timeframe()  : string
Returns time frame for a given time in milliseconds.
install_requested()  : void
Add requested plugin.
installed()  : void
Add installed plugin.
get()  : false|mixed|void
Retreive the option.
get_plugin_track_key()  : mixed
track()  : mixed
update()  : bool
Update the option.

Properties

Methods