WC_Install::update_wc_version()private staticWC 1.0

Update WC version to current.

Method of the class: WC_Install{}

No Hooks.

Return

null. Ничего (null).

Usage

$result = WC_Install::update_wc_version();

WC_Install::update_wc_version() code WC 8.3.0

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