WordPress at Your Fingertips
function is not described

wc_update_300_settings() WC 1.0

Update shipping tax classes for 3.0

No Hooks.

Return

null. Nothing.

Usage

wc_update_300_settings();

Code of wc_update_300_settings() WC 5.5.2

<?php
function wc_update_300_settings() {
	$woocommerce_shipping_tax_class = get_option( 'woocommerce_shipping_tax_class' );
	if ( '' === $woocommerce_shipping_tax_class ) {
		update_option( 'woocommerce_shipping_tax_class', 'inherit' );
	} elseif ( 'standard' === $woocommerce_shipping_tax_class ) {
		update_option( 'woocommerce_shipping_tax_class', '' );
	}
}