WordPress at Your Fingertips
filter is not described

woocommerce_coupon_hold_minutes filter-hook . WC 1.0

Get held time for resources before cancelling the order. Use 60 minutes as sane default. Note that the filter woocommerce_coupon_hold_minutes support minutes because it's getting used elsewhere as well, however this function returns in seconds.


add_filter( 'woocommerce_coupon_hold_minutes', 'filter_function_name_9684' );
function filter_function_name_9684( $condition ){
	// filter...

	return $condition;

Where the hook is called

woocommerce/includes/data-stores/class-wc-coupon-data-store-cpt.php 491
return apply_filters( 'woocommerce_coupon_hold_minutes', ( (int) get_option( 'woocommerce_hold_stock_minutes', 60 ) ) ) * 60;

Where in WP core the hook is used WooCommerce

Usage not found.