wc_ship_to_billing_address_only()
See if we only ship to billing addresses.
Хуков нет.
Возвращает
bool.
Использование
wc_ship_to_billing_address_only();
Код wc_ship_to_billing_address_only() wc ship to billing address only WC 11.2.2
function wc_ship_to_billing_address_only() {
return 'billing_only' === get_option( 'woocommerce_ship_to_destination' );
}