LLMS_Processor_Membership_Bulk_Enroll
Description Description
Handle background processing of average progress & average grade for LifterLMS Courses. This triggers a bg process which gets the current progress of all students in a course.
Progress is queued for recalculation when: students enroll students unenroll students complete lessons
Source Source
File: includes/processors/class.llms.processor.membership.bulk.enroll.php
Changelog Changelog
Version | Description |
---|---|
3.26.1 | Unknown. |
3.15.0 | Introduced. |
Methods Methods
- dispatch_enrollment — Action triggered to queue all students who need to be enrolled
- init — Initializer
- schedule_enrollment — Schedule bulk enrollment This will schedule an event that will setup the queue of items for the background process
- task — Execute calculation for each item in the queue until all students in the course have been polled Stores the data in the postmeta table to be accessible via LLMS_Course