woocommerce_coupon_validate_minimum_amount filter-hookWC 1.0

Usage

add_filter( 'woocommerce_coupon_validate_minimum_amount', 'wp_kama_woocommerce_coupon_validate_minimum_amount_filter', 10, 2 );

/**
 * Function for `woocommerce_coupon_validate_minimum_amount` filter-hook.
 * 
 * @param  $subtotal 
 * @param  $coupon   
 *
 * @return 
 */
function wp_kama_woocommerce_coupon_validate_minimum_amount_filter( $subtotal, $coupon ){

	// filter...
	return $subtotal;
}
$subtotal
-
$coupon
-

Where the hook is called

WC_Discounts::validate_coupon_minimum_amount()
woocommerce_coupon_validate_minimum_amount
woocommerce/includes/class-wc-discounts.php 708
if ( $coupon->get_minimum_amount() > 0 && apply_filters( 'woocommerce_coupon_validate_minimum_amount', $coupon->get_minimum_amount() > $subtotal, $coupon, $subtotal ) ) {

Where the hook is used in WooCommerce

Usage not found.