woocommerce_quantity_input_min filter-hookWC 1.0

Usage

add_filter( 'woocommerce_quantity_input_min', 'wp_kama_woocommerce_quantity_input_min_filter', 10, 2 );

/**
 * Function for `woocommerce_quantity_input_min` filter-hook.
 * 
 * @param  $empty   
 * @param  $product 
 *
 * @return 
 */
function wp_kama_woocommerce_quantity_input_min_filter( $empty, $product ){

	// filter...
	return $empty;
}
$empty
-
$product
-

Where the hook is called

woocommerce_quantity_input()
woocommerce_quantity_input_min
woocommerce/includes/wc-template-functions.php 1827
'min_value'    => apply_filters( 'woocommerce_quantity_input_min', 0, $product ),
woocommerce/templates/single-product/add-to-cart/variation-add-to-cart-button.php 22
'min_value'   => apply_filters( 'woocommerce_quantity_input_min', $product->get_min_purchase_quantity(), $product ),
woocommerce/templates/single-product/add-to-cart/simple.php 40
'min_value'   => apply_filters( 'woocommerce_quantity_input_min', $product->get_min_purchase_quantity(), $product ),
woocommerce/templates/single-product/add-to-cart/grouped.php 75
'min_value'   => apply_filters( 'woocommerce_quantity_input_min', 0, $grouped_product_child ),

Where the hook is used in WooCommerce

Usage not found.