learndash_course_get_steps_by_type( int $course_id, string $step_type = '' )
Gets the course steps by type.
Contents
Description #
Parameters #
- $course_id
-
(int) (Optional) Course ID. Default 0.
- $step_type
-
(string) (Optional) The type of the step.
Default value: ''
Return #
(array) An array of course step IDs.
Source #
Related #
Uses #
Uses | Description |
---|---|
includes/course/ld-course-functions.php: learndash_is_course_builder_enabled () |
Utility function to check if Course Builder is enabled. |
includes/class-ldlms-transients.php: LDLMS_Transients::get () |
Get a Transient |
includes/class-ldlms-transients.php: LDLMS_Transients::set () |
Utility function to interface with WP set_transient function. This function allow for filtering if to actually write the transient. |
includes/class-ldlms-post-types.php: learndash_get_post_types () |
This function is documented in includes/class-ldlms-post-types.php |
includes/course/ld-course-functions.php: learndash_get_course_lessons_order () |
Gets the course lessons order query arguments. |
includes/course/ld-course-steps-functions.php: learndash_course_steps_by_type |
Filters course steps by type query arguments. |
includes/classes/class-ldlms-factory-post.php: LDLMS_Factory_Post::course_steps () |
Get a Course Steps. |
Used By #
Used By | Description |
---|---|
includes/course/ld-course-functions-legacy.php: learndash_get_course_steps_legacy () |
LEGACY: Gets all the lessons and topics for a given course ID. |
includes/course/ld-course-functions-legacy.php: learndash_course_get_completed_steps_legacy () |
LEGACY: Gets the total completed steps for a given course progress array. |
includes/classes/class-ldlms-model-course.php: LDLMS_Model_Course::get_steps () |
Get Course Steps. |
includes/classes/class-ldlms-model-user-course-progress.php: LDLMS_Model_User_Course_Progress::build_course_progress_legacy () |
Build Course Progress node for ‘legacy’. |
includes/classes/class-ldlms-model-user-course-progress.php: LDLMS_Model_User_Course_Progress::build_course_progress_completion_order () |
Build the Course Progress node for ‘co’ Completion order. |
includes/rest-api/v2/class-ld-rest-lessons-controller.php: LD_REST_Lessons_Controller_V2::rest_query_filter () |
Filter Lessons query args. |
includes/rest-api/v2/class-ld-rest-quizzes-controller.php: LD_REST_Quizzes_Controller_V2::rest_query_filter () |
Filter query args. |
includes/rest-api/v2/class-ld-rest-topics-controller.php: LD_REST_Topics_Controller_V2::rest_query_filter () |
Filter query args. |
includes/admin/classes-posts-listings/class-learndash-admin-assignments-listing.php: Learndash_Admin_Assignments_Listing::listing_filter_by_topic () |
Filter the main query listing by the topic_id |
includes/admin/classes-posts-listings/class-learndash-admin-essays-listing.php: Learndash_Admin_Essays_Listing::listing_filter_by_topic () |
Filter the main query listing by the topic_id |
includes/admin/class-learndash-admin-posts-listing.php: Learndash_Admin_Posts_Listing::selector_filter_for_topic () |
Topic Selector Filter. |
themes/ld30/includes/helpers.php: learndash_focus_mode_lesson_query_args () |
Gets the focus mode lesson query arguments. |
includes/widgets/ld_lesson.php: Lesson_Widget::course_lessons_list () |
Sets up course lesson list HTML |
includes/class-ld-lms.php: SFWD_LMS::select_a_quiz () |
Makes wp_query to retrieve quizzes a course |
includes/rest-api/v1/class-ld-rest-lessons-controller.php: LD_REST_Lessons_Controller_V1::rest_query_filter () | |
includes/rest-api/v1/class-ld-rest-quizzes-controller.php: LD_REST_Quizzes_Controller_V1::rest_query_filter () | |
includes/rest-api/v1/class-ld-rest-topics-controller.php: LD_REST_Topics_Controller_V1::rest_query_filter () | |
includes/shortcodes/ld_courseinfo.php: learndash_courseinfo () |
Builds the |
includes/course/ld-course-steps-functions.php: learndash_get_course_steps () |
Gets all the lessons and topics for a given course ID. |
includes/course/ld-course-steps-functions.php: learndash_course_get_completed_steps () |
Gets the total completed steps for a given course progress array. |
includes/deprecated/3.4.0/functions.php: learndash_course_get_steps_by_type_ORG1 () |
Gets the course steps by type. |
includes/widgets/ld_course_navigation.php: LearnDash_Course_Navigation_Widget::widget () |
Displays widget |
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/shortcodes/ld_lesson_list.php: ld_lesson_list () |
Builds the |
includes/shortcodes/ld_quiz_list.php: ld_quiz_list () |
Builds the |
includes/shortcodes/ld_topic_list.php: ld_topic_list () |
Builds the |
includes/shortcodes/ld_course_list.php: ld_course_list () |
Builds the |