llms_update_300_create_access_plans()
Creates access plans for each course & membership
Description Description
Creates up to 3 plans per course and up to two plans per membership.
Migrates price & subscription data to a single & recurring plan where applicable.
If course is restricted to a membership a free members only plan will be created in addition to paid open recurring & single plans.
If course is restricted to a membership and no price is found only one free members only plan will be created.
Return Return
(void)
Source Source
File: includes/functions/updates/llms-functions-updates-300.php
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |