apply_filters( 'llms_data_processor_course_data_throttle_count', int $number_students, LLMS_Processor_Course_Data $processor )

Throttles course data processing based on the number of a students in a course.

Description Description

If the number of students in a course is greater than or equal to this number, the background process will be throttled to run only once every N hours where N is equal to the number of hours defined by the llms_data_processor_course_data_throttle_frequency filter.

See also See also

Top ↑

Parameters Parameters


(int) The number of students. Default is 500.


(LLMS_Processor_Course_Data) Instance of the data processor class.

Top ↑

Source Source

File: includes/processors/

View on GitHub

Top ↑

Changelog Changelog

Version Description
4.12.0 Reduced default value of $number_students from 2500 to 500.
3.15.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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