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.

Top ↑

Parameters Parameters


(int) (Required) WP_Post ID of the course.

Top ↑

Return Return


Top ↑

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 ) );


Top ↑

Changelog Changelog

Version Description
4.12.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.