apply_filters( 'sensei_enrolment_course_calculation_job_batch_size', $batch_size, $course_id ) → {int}
Filter the batch size for the number of users to query per run in the course calculation job.
Parameters:
Name | Type | Description |
---|---|---|
$batch_size |
int | Batch size to filter. |
$course_id |
int | Course ID we're running. |
- Since:
- 3.0.0
- Source:
Returns:
Filtered batch size.
- Type
- int