LDLMS_Factory_Post::course_steps( int|WP_Post $course = null, bool $reload = false )
Returns course steps.
Contents
Description #
Parameters #
- $course
-
(int|WP_Post) (Optional) Course post ID or WP_Post instance.
Default value: null
- $reload
-
(bool) (Optional) To force reloading of instance.
Default value: false
Return #
(LDLMS_Course_Steps|null)
Source #
Related #
@package #
Uses #
Uses | Description |
---|---|
includes/class-ldlms-post-types.php: learndash_get_post_type_slug () |
Used By #
Used By | Description |
---|---|
includes/course/ld-course-functions-legacy.php: learndash_get_course_lessons_list_legacy () |
LEGACY: Gets the lesson list output for a course. |
includes/course/ld-course-functions-legacy.php: learndash_get_topic_list_legacy () |
LEGACY: Gets the topics list for a lesson. |
includes/course/ld-course-functions-legacy.php: learndash_get_course_quiz_list_legacy () |
LEGACY: Gets the quiz list output for a course. |
includes/course/ld-course-functions-legacy.php: learndash_get_lesson_quiz_list_legacy () |
LEGACY: Gets the quiz list output for a lesson. |
includes/rest-api/v2/class-ld-rest-users-course-progress-controller.php: LD_REST_Users_Course_Progress_Controller_V2::get_user_course_progress_steps () |
Get the user course progress steps data. |
includes/rest-api/v2/class-ld-rest-courses-steps-controller.php: LD_REST_Courses_Steps_Controller_V2::get_course_steps () |
Retrieves course steps. |
includes/rest-api/v2/class-ld-rest-courses-steps-controller.php: LD_REST_Courses_Steps_Controller_V2::update_course_steps () |
Updates the course steps. |
includes/rest-api/v2/class-ld-rest-lessons-controller.php: LD_REST_Lessons_Controller_V2::get_item_permissions_check () |
Check user permission to get/access single Lesson. |
includes/rest-api/v2/class-ld-rest-quizzes-controller.php: LD_REST_Quizzes_Controller_V2::get_item_permissions_check () |
Check user permission to get/access single Quiz. |
includes/rest-api/v2/class-ld-rest-topics-controller.php: LD_REST_Topics_Controller_V2::get_item_permissions_check () |
Check user permission to get/access single Topic. |
includes/admin/class-learndash-admin-posts-listing.php: Learndash_Admin_Posts_Listing::listing_filter_by_topic () |
Filter the main query listing by the topic_id |
includes/rest-api/v1/class-ld-rest-users-course-progress-controller.php: LD_REST_Users_Course_Progress_Controller_V1::get_users_progress () |
Get User Progress. |
includes/rest-api/v1/class-ld-rest-courses-steps-controller.php: LD_REST_Courses_Steps_Controller_V1::get_course_steps () |
Get course steps |
includes/rest-api/v1/class-ld-rest-courses-steps-controller.php: LD_REST_Courses_Steps_Controller_V1::update_course_steps () |
Update course steps |
includes/rest-api/v1/class-ld-rest-lessons-controller.php: LD_REST_Lessons_Controller_V1::get_item_permissions_check () |
Check Single Lesson Read Permissions. |
includes/rest-api/v1/class-ld-rest-topics-controller.php: LD_REST_Topics_Controller_V1::get_item_permissions_check () |
Check Single Topic Read Permissions. |
includes/deprecated/3.4.0/functions.php: learndash_transition_course_shared_steps () |
Transitions the course steps logic from using shared steps to legacy. |
includes/course/ld-course-functions-legacy.php: learndash_get_lesson_list () |
Gets the lesson list for a course. |
includes/course/ld-course-info-widget.php: learndash_course_navigation_admin_box_content () |
Adds the content to the course navigation meta box for admin. |
includes/admin/classes-builders/class-learndash-admin-course-builder-metabox.php: Learndash_Admin_Metabox_Course_Builder::save_course_builder () |
Save Course Builder steps |
includes/admin/classes-builders/class-learndash-admin-course-builder-metabox.php: Learndash_Admin_Metabox_Course_Builder::builder_init () |
Initialize builder for specific Course Item. |