mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-03 08:37:53 +08:00
AXO: Simplify the is_compatible_shipping_config() condition
This commit is contained in:
parent
eab4f64a46
commit
3488e6f6f3
1 changed files with 1 additions and 1 deletions
|
@ -409,6 +409,6 @@ class AxoModule implements ModuleInterface {
|
|||
* @return bool
|
||||
*/
|
||||
private function is_compatible_shipping_config(): bool {
|
||||
return ! wc_shipping_enabled() || ( wc_shipping_enabled() && ! wc_ship_to_billing_address_only() );
|
||||
return ! wc_shipping_enabled() || ! wc_ship_to_billing_address_only();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue