WC_Install::update_wc_version()private staticWC 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 6.7.0

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