WC_Install::update_wc_version()
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() WC Install::update wc version code WC 9.3.3
private static function update_wc_version() { update_option( 'woocommerce_version', WC()->version ); }