woocommerce_quantity_input_max

apply_filters( ‘woocommerce_quantity_input_max’, -1, $product );

Change max input

Parameters #

-1
Maximum value.
$product
Product from woocommerce

Return #

Return maximum quantity

File Location #

includes/items/quantity.php

Source Code #

View on Github.com