LLMS_Processor_Course_Data::maybe_throttle( int $num_students, int $course_id )

For large courses, only recalculate once every 4 hours


Description Description


Parameters Parameters

$num_students

(Required) Number of students in the current course.

$course_id

(Required) WP_Post ID of the course.


Top ↑

Return Return

(boolean) When true the dispatch is throttled and when false it will run.


Top ↑

Source Source

File: includes/processors/class.llms.processor.course.data.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.12.0 Adjusted access from private to protected. Pull last run data on a per-course basis. Added parameter $course_id.
3.15.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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