Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
WC_Install::update_wc_version()
Update WC version to current.
Description Description
Source Source
File: includes/class-wc-install.php
private static function update_wc_version() { delete_option( 'woocommerce_version' ); add_option( 'woocommerce_version', WC()->version ); }