WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

Install::maybe_update_db_version() private WC 1.0

See if we need to show or run database updates during install.

{} It's a method of the class: Install{}

No Hooks.

Return

null. Nothing.

Usage

$result = Install::maybe_update_db_version();

Code of Install::maybe_update_db_version() WC 5.3.0

<?php
private static function maybe_update_db_version() {
	if ( self::needs_db_update() ) {
		self::update();
	} else {
		self::update_db_version();
	}
}