WC_Install::update_wc_version() – Update WC version to current.

You appear to be a bot. Output may be restricted

Description

Update WC version to current.

Usage

WC_Install::update_wc_version();

Parameters

Returns

void

Source

File name: woocommerce/includes/class-wc-install.php
Lines:

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

 View on GitHub View on Trac