woocommerce_coupon_hold_minutes

woocommerce_coupon_hold_minutes

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.7.1

apply_filters('woocommerce_coupon_hold_minutes') is found 1 times:

  • /includes/data-stores/class-wc-coupon-data-store-cpt.php line 537
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
         * @since 3.7.0
         *
         * @param int $default_hold_time_minutes The default hold time for coupons in minutes.
         */
        return (int) apply_filters( 'woocommerce_coupon_hold_minutes', $default_hold_time_minutes ) * 60;
    }
     
    /**
     * Check and records coupon usage tentatively for short period of time so that counts validation is correct. Returns early if there is no limit defined for the coupon.
     *
     * @param WC_Coupon $coupon Coupon object.