LDLMS_Factory_Post::get_course_lessons

LDLMS_Factory_Post::get_course_lessons( mixed $course = null,  mixed $lesson = null )

Get a Lesson.


Description #


Parameters #

$course

(mixed) (Optional) Either course_id integer or WP_Post instance.

Default value: null

$lesson

(mixed) (Optional) Either lesson_id integer or WP_Post instance.

Default value: null


Return #

(new) instance of LDLMS_Model_Course.


Source #

File: includes/classes/class-ldlms-factory-post.php