woocommerce_after_cart_item_quantity_update
Usage
add_action( 'woocommerce_after_cart_item_quantity_update', 'wp_kama_woocommerce_after_cart_item_quantity_update_action', 10, 4 ); /** * Function for `woocommerce_after_cart_item_quantity_update` action-hook. * * @param $cart_item_key * @param $quantity * @param $old_quantity * @param $that * * @return void */ function wp_kama_woocommerce_after_cart_item_quantity_update_action( $cart_item_key, $quantity, $old_quantity, $that ){ // action... }
- $cart_item_key
- -
- $quantity
- -
- $old_quantity
- -
- $that
- -
Where the hook is called
woocommerce_after_cart_item_quantity_update
woocommerce/includes/class-wc-cart.php 1365
do_action( 'woocommerce_after_cart_item_quantity_update', $cart_item_key, $quantity, $old_quantity, $this );