WC_Background_Updater::complete()protectedWC 1.0

Complete

Override if applicable, but ensure that the below actions are performed, or, call parent::complete().

Method of the class: WC_Background_Updater{}

No Hooks.

Return

null. Nothing (null).

Usage

// protected - for code of main (parent) or child class
$result = $this->complete();

WC_Background_Updater::complete() code WC 8.7.0

protected function complete() {
	$logger = wc_get_logger();
	$logger->info( 'Data update complete', array( 'source' => 'wc_db_updates' ) );
	WC_Install::update_db_version();
	parent::complete();
}