Automattic\WooCommerce\Admin\PluginsInstallLoggers
AsyncPluginsInstallLogger::update
Update the option.
Method of the class: AsyncPluginsInstallLogger{}
No Hooks.
Returns
true|false.
Usage
// private - for code of main (parent) class only $result = $this->update( $data );
- $data(array) (required)
- New data.
AsyncPluginsInstallLogger::update() AsyncPluginsInstallLogger::update code WC 10.5.0
private function update( array $data ) {
return update_option( $this->option_name, $data );
}