LLMS_Access_Plan::get_price( string $key, array $price_args = array(), string $format = 'html', LLMS_Coupon|int|null $coupon = null )

Getter for price strings with optional formatting options


Description Description


Parameters Parameters

$key

(Required) Property key.

$price_args

(Optional) array of arguments that can be passed to llms_price().

Default value: array()

$format

(Optional) format conversion method [html|raw|float].

Default value: 'html'

$coupon

(Optional) Coupon ID, object, or null if no coupon is being used.

Default value: null


Top ↑

Return Return

(mixed)


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.40.0 Added $coupon parameter.
3.23.0 Unknown.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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