woocommerce_quantity_input_args filter-hookWC 1.0

Usage

add_filter( 'woocommerce_quantity_input_args', 'wp_kama_woocommerce_quantity_input_args_filter', 10, 2 );

/**
 * Function for `woocommerce_quantity_input_args` filter-hook.
 * 
 * @param  $wp_parse_args 
 * @param  $product       
 *
 * @return 
 */
function wp_kama_woocommerce_quantity_input_args_filter( $wp_parse_args, $product ){

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

Where the hook is called

woocommerce_quantity_input()
woocommerce_quantity_input_args
woocommerce/includes/wc-template-functions.php 1801
$args = apply_filters( 'woocommerce_quantity_input_args', wp_parse_args( $args, $defaults ), $product );

Where the hook is used in WooCommerce

Usage not found.