diff --git a/classes/shipping/class-wc-shipping-method.php b/classes/shipping/class-wc-shipping-method.php index ce25e3a8f7a..c8b426bc72d 100644 --- a/classes/shipping/class-wc-shipping-method.php +++ b/classes/shipping/class-wc-shipping-method.php @@ -185,7 +185,7 @@ class WC_Shipping_Method extends WC_Settings_API { if ( ! in_array( $package['destination']['country'], $ship_to_countries ) ) return false; endif; - return apply_filters( 'woocommerce_shipping_' . $this->id . '_is_available', true ); + return apply_filters( 'woocommerce_shipping_' . $this->id . '_is_available', true, $package ); } /**