apply_filters( 'woocommerce_add_cart_item_data' )
If the attribute value was posted, check if it’s valid.
Description Description
If no attribute was posted, only error if the variation has an ‘any’ attribute which requires a value.
Source Source
File: includes/class-wc-cart.php