LLMS_Processor_Course_Data::dispatch_calc_throttled( int $course_id )
Schedule data calculation for the future
Description Description
This method is called when data processing is triggered for a course that is currently being processed or for a course that qualifies for process throttling based on the number of students in the course.
Parameters Parameters
- $course_id
-
(int) (Required) WP_Post ID of the course.
Return Return
(void)
Source Source
File: includes/processors/class.llms.processor.course.data.php
protected function dispatch_calc_throttled( $course_id ) { $this->schedule_calculation( $course_id, $this->get_last_run( $course_id ) + $this->throttle_frequency ); $this->log( sprintf( 'Course data calculation throttled for course %d.', $course_id ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.12.0 | Introduced. |