LDLMS_Factory_Post::get_course_lessons LDLMS_Factory_Post::get_course_lessons( int|object $course = null, int|object $lesson = null ) Get Course Lessons. ContentsDescription Parameters Return Source Related @package Uses Description # Parameters # $course (int|object) (Optional) Either course_id integer or WP_Post instance. Default value: null $lesson (int|object) (Optional) Either lesson_id integer or WP_Post instance. Default value: null Return # (array) An array of course lessons Source # File: includes/classes/class-ldlms-factory-post.php Related # @package # LearnDash Uses # Uses Uses Description includes/classes/class-ldlms-factory-post.php: LDLMS_Factory_Post::get_course () Get Course. includes/class-ldlms-post-types.php: learndash_get_post_type_slug ()
Uses # Uses Uses Description includes/classes/class-ldlms-factory-post.php: LDLMS_Factory_Post::get_course () Get Course. includes/class-ldlms-post-types.php: learndash_get_post_type_slug ()