woocommerce_after_cart_item_quantity_update

woocommerce_after_cart_item_quantity_update

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_after_cart_item_quantity_update') is found 1 times:

  • /includes/class-wc-cart.php line 1379
    1375
    1376
    1377
    1378
    1379
    1380
    1381
    1382
    1383
    1384
    1385
    // Update qty.
    $old_quantity                                      = $this->cart_contents[ $cart_item_key ]['quantity'];
    $this->cart_contents[ $cart_item_key ]['quantity'] = $quantity;
     
    do_action( 'woocommerce_after_cart_item_quantity_update', $cart_item_key, $quantity, $old_quantity, $this );
     
    if ( $refresh_totals ) {
        $this->calculate_totals();
    }
     
    /**