wc_ship_to_billing_address_only()WC 1.0

See if we only ship to billing addresses.

Хуков нет.

Возвращает

true|false.

Использование

wc_ship_to_billing_address_only();

Код wc_ship_to_billing_address_only() WC 6.4.1

function wc_ship_to_billing_address_only() {
	return 'billing_only' === get_option( 'woocommerce_ship_to_destination' );
}