LDLMS_Model_Course
Class for LearnDash Model Course.
Description #
Source #
Changelog #
Version | Description |
---|---|
2.5.0 | Introduced. |
Methods #
- __construct — Class constructor.
- can_user_read_step — General function to check if user can view/read step post.
- get_lessons — Get Course Lessons
- get_pager — Get Course Pager.
- get_post_type
- get_quizzes — Get Quizzes
- get_sections — Get Course Sections
- get_setting — Get Post Setting.
- get_settings_lessons_per_page — Get Lessons per page setting
- get_settings_order — Get Lessons order/orderby setting
- get_settings_topics_per_page — Get Topics per page setting
- get_steps — Get Course Steps.
- get_steps_count — Get Course Steps Count.
- get_topics — Get Course Lesson Topics
- init — Initialize post.
- initialize
- load_settings — Load the Post Settings.