Skip to content

woocommerce_quantity_input_max

Fazle Bari edited this page Jan 3, 2021 · 1 revision
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 Source Code

Clone this wiki locally