Filter: sensei_course_get_lessons

apply_filters( 'sensei_course_get_lessons', $lessons, $course_id ) → {array}

Filter runs inside Sensei_Course::course_lessons function

Returns all lessons for a given course

Parameters:
Name Type Description
$lessons array

Array of lesson objects.

$course_id int

The course ID.

Source:
Returns:

Array of lesson objects.

Type
array