WordPress at Your Fingertips
function is not described

wc_shipping_enabled() WC 1.0

Is shipping enabled?

Hooks from the function

Return

true|false.

Usage

wc_shipping_enabled();

Code of wc_shipping_enabled() WC 6.1.0

function wc_shipping_enabled() {
	return apply_filters( 'wc_shipping_enabled', get_option( 'woocommerce_ship_to_countries' ) !== 'disabled' );
}