WordPress at Your Fingertips
function is not described

WC_Install::update_wc_version() private WC 1.0

Update WC version to current.

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

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Install::update_wc_version();

Code of WC_Install::update_wc_version() WC 5.6.0

private static function update_wc_version() {
	update_option( 'woocommerce_version', WC()->version );
}