WC_Install::update_wc_version()private staticWC 1.0

Update WC version to current.

Method of the class: WC_Install{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = WC_Install::update_wc_version();

WC_Install::update_wc_version() code WC 9.3.3

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