WC_Background_Updater::complete()
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() WC Background Updater::complete code WC 9.5.1
protected function complete() { $logger = wc_get_logger(); $logger->info( 'Data update complete', array( 'source' => 'wc_db_updates' ) ); WC_Install::update_db_version(); parent::complete(); }