Automattic\WooCommerce\Admin\PluginsInstallLoggers
AsyncPluginsInstallLogger::update()
Update the option.
Method of the class: AsyncPluginsInstallLogger{}
No Hooks.
Return
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 9.7.1
private function update( array $data ) { return update_option( $this->option_name, $data ); }