apply_filters( 'edd_is_discount_valid', bool $return, int $ID, string $code, string $user )

Filters whether the discount is valid or not.


Description Description


Parameters Parameters

$return

If the discount is used or not.

$ID

Discount ID.

$code

Discount code.

$user

User info.


Top ↑

Source Source

File: includes/class-edd-discount.php


Top ↑

Changelog Changelog

Changelog
Version Description
2.7 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.