LLMS_Processor_Course_Data::schedule_calculation( int $course_id, int $time = null )
Schedule a calculation to execute
Description Description
This will schedule an event that will setup the queue of items for the background process.
Parameters Parameters
- $course_id
-
(Required) WP Post ID of the course.
- $time
-
(Optional) y pass a timestamp for when the event should be run.
Default value: null
Return Return
(void)
Source Source
File: includes/processors/class.llms.processor.course.data.php
Changelog Changelog
Version | Description |
---|---|
4.21.0 | Force $course_id to an absolute integer to avoid duplicate scheduling resulting from loose variable typing. |
3.15.0 | Introduced. |