Pass cart values to is_valid_for_product method
Accept cart item values in is_valid_for_product method and pass these to the woocommerce_coupon_is_valid_for_product filter
Setting values to an optional argument
Merge pull request #6507 from chrisnharvey/master

Pass cart item values to is_valid_for_product method in WC_Coupon