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


Top ↑

Return Return

(bool) true if payment required, false otherwise


Top ↑

Source Source

File: includes/models/model.llms.access.plan.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.30.1 Uses self::get_initial_price().
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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