LLMS_Shortcode_Checkout
Description Description
Source Source
File: includes/shortcodes/class.llms.shortcode.checkout.php
Changelog Changelog
Version | Description |
---|---|
5.0.0 | Add support for LLMS_Form field management. |
4.2.0 | Added filter to control the displaying of the notice informing the students they're already enrolled in the product being purchased. |
3.36.3 | Added l10n function to membership restriction error message. |
3.35.0 | Sanitize input data. |
3.33.0 | Checkout form not displayed to users already enrolled in the product being purchased, a notice informing them of that is displayed instead. |
3.30.1 | Added check via llms_locate_order_for_user_and_plan() to automatically resume an existing pending order for logged in users if one exists. |
1.0.0 | Introduced. |
Methods Methods
- checkout — Renders the checkout template.
- confirm_payment — Renders the confirm payment checkout template.
- error — Output error messages when they're encountered.
- get — Retrieve the shortcode content.
- output — Gather a bunch of information and output the actual content for the shortcode.
- setup_plan_and_form_atts — Setup attributes for plan and form information.