SFWD_LMS::select_a_lesson_or_topic

SFWD_LMS::select_a_lesson_or_topic( int $course_id = null,  $include_topics = true,  $include_default = true )

Makes wp_query to retrieve lessons or topics for a course


Description #


Parameters #

$course_id

(int) (Optional)

Default value: null


Return #

(array) array of lessons or topics


Source #

File: includes/class-ld-lms.php


Changelog #

Changelog
Version Description
2.1.0 Introduced.