do_action( 'woocommerce_cart_item_set_quantity', string $cart_item_key , int $quantity , WC_Cart $this )
Fired after qty has been changed.
Description Description
Parameters Parameters
- $cart_item_key
-
contains the id of the cart item. This may be empty if the cart item does not exist any more.
- $quantity
-
contains the quantity of the item.
- $this
-
Cart class.
Source Source
File: includes/class-wc-cart.php
Changelog Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |