LDLMS_Factory_Post::course LDLMS_Factory_Post::course( int|object $course = null, bool $reload = false ) Get a Course. ContentsDescription Parameters Return Source Related @package Uses Used By Description # Parameters # $course (int|object) (Optional) Either course_id integer or WP_Post instance. Default value: null $reload (bool) (Optional) To force reload of instance. Default value: false Return # (object|null) Instance of LDLMS_Model_Course or null Source # File: includes/classes/class-ldlms-factory-post.php Related # @package # LearnDash Uses # Uses Uses Description includes/class-ldlms-post-types.php: learndash_get_post_type_slug () Used By # Used By Used By Description includes/course/ld-course-navigation.php: learndash_get_course_lessons_list () Gets the lesson list output for a course. includes/course/ld-course-progress.php: learndash_get_course_progress () Gets the user’s current course progress.
Used By # Used By Used By Description includes/course/ld-course-navigation.php: learndash_get_course_lessons_list () Gets the lesson list output for a course. includes/course/ld-course-progress.php: learndash_get_course_progress () Gets the user’s current course progress.