APP_Listing_Plan_Addon
A Listing Plan Addon class.
Package
Contents
Description Description
Unlike APP_Listing_General_Addon it uses Plan object as reference. Retrieves Addon properties from the Plan meta fields.
Methods Methods
- __construct — Construct Listing Addon object
- __get — Magic method: $addon->arg
- apply — Adds addon to an order item.
- get_period_text — Generates period text.
- get_price — Retrieves addon price.
- get_purchase_option — Generates purchase addon option HTML.
- get_ref_object — Retrieves the referenced object.
- get_title — Retrieves an addon title.