LLMS_Access_Plan::requires_payment( int $coupon_id = null )
Determine if the access plan requires payment.
Description Description
Automatically accounts for coupons, sales, trials, and whether the plan is marked as free.
Parameters Parameters
- $coupon_id
-
(Optional) LLMS_Coupon ID.
Default value: null
Return Return
(bool) true if payment required, false otherwise
Source Source
File: includes/models/model.llms.access.plan.php
Changelog Changelog
Version | Description |
---|---|
3.30.1 | Uses self::get_initial_price(). |
3.0.0 | Introduced. |