apply_filters( 'sensei_teacher_course_ids', $course_ids, $teacher_id ) → {Array.<int>}
Filter the course IDs associated with a given teacher.
Parameters:
Name | Type | Description |
---|---|---|
$course_ids |
Array.<int> | Course IDs for which the current user is the teacher. |
$teacher_id |
int | Teacher ID. |
- Since:
- 4.24.4
- Source:
Returns:
Filtered course IDs associated with a given teacher.
- Type
- Array.<int>