wc_shipping_enabled()WC 1.0

Is shipping enabled?

Hooks from the function

Return

true|false.

Usage

wc_shipping_enabled();

wc_shipping_enabled() code WC 9.0.1

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