woocommerce_cart_item_set_quantity

woocommerce_cart_item_set_quantity

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.7.1

do_action('woocommerce_cart_item_set_quantity') is found 1 times:

  • /includes/class-wc-cart.php line 1384
    1380
    1381
    1382
    1383
    1384
    1385
    1386
    1387
    1388
    1389
    1390
         * @param string  $cart_item_key contains the id of the cart item. This may be empty if the cart item does not exist any more.
         * @param int     $quantity contains the quantity of the item.
         * @param WC_Cart $this Cart class.
         */
        do_action( 'woocommerce_cart_item_set_quantity', $cart_item_key, $quantity, $this );
     
        return true;
    }
     
    /**
     * Get cart's owner.

See this hook used in plugins: