LLMS_Coupon::is_valid( int $plan_id )
Perform all available validations and return a success or error message
Description Description
Parameters Parameters
- $plan_id
-
(Required) WP Post ID of an LLMS Access Plan
Return Return
(WP_Error|true) If true, the coupon is valid, if WP_Error, there was an error
Source Source
File: includes/models/model.llms.coupon.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |