diff --git a/includes/class-wc-product-variation.php b/includes/class-wc-product-variation.php index 79f6bc93d80..3f29f7f5047 100644 --- a/includes/class-wc-product-variation.php +++ b/includes/class-wc-product-variation.php @@ -255,7 +255,7 @@ class WC_Product_Variation extends WC_Product { else $purchasable = parent::is_purchasable(); - return apply_filters( 'woocommerce_variation_is_purchasable', $purchasable, $this->variation_id, $this->id ); + return apply_filters( 'woocommerce_variation_is_purchasable', $purchasable, $this ); } /**