learndash_get_step_permalink( int $step_id, int $step_course_id = null )
Utility function to get the nested permalink of the course step within in the course.
Description #
Parameters #
- $step_id
-
(int) (Required) Course Step Post ID.
- $step_course_id
-
(int) (Optional) Course ID.
Default value: null
Source #
Changelog #
Version | Description |
---|---|
2.5.0 | Introduced. |
Related #
Namespace #
@package #
Used By #
Used By | Description |
---|---|
includes/course/ld-course-functions-legacy.php: learndash_get_course_data_legacy () |
LEGACY: Gets the course data for the course builder. |
includes/admin/ld-course-builder-helpers.php: learndash_get_course_data () |
Gets the course data for the course builder. |
includes/rest-api/v2/class-ld-rest-posts-controller.php: LD_REST_Posts_Controller_V2::rest_prepare_response_filter () |
Override the REST response links. This is needed when Course Shared Steps is enabled. |
includes/admin/class-learndash-admin-posts-listing.php: Learndash_Admin_Posts_Listing::show_column_step_lesson () |
Show Lesson column for Step. |
includes/admin/class-learndash-admin-posts-listing.php: Learndash_Admin_Posts_Listing::show_column_step_topic () |
Show Topic column for Step. |
includes/admin/class-learndash-admin-posts-listing.php: Learndash_Admin_Posts_Listing::show_column_step_lesson_or_topic () |
Show Lesson or Topic column for Step. |
includes/admin/class-learndash-admin-posts-listing.php: Learndash_Admin_Posts_Listing::show_column_step_quiz () |
Show Quiz column for Step. |
includes/admin/classes-posts-listings/class-learndash-admin-essays-listing.php: Learndash_Admin_Essays_Listing::show_column_essay_lesson () |
Show Lesson column for Essay. |
includes/admin/classes-posts-listings/class-learndash-admin-essays-listing.php: Learndash_Admin_Essays_Listing::show_column_essay_quiz () |
Show Quiz column for Essay. |
includes/admin/classes-posts-listings/class-learndash-admin-essays-listing.php: Learndash_Admin_Essays_Listing::show_column_essay_question () |
Show Quiz column for Essay. |
themes/ld30/includes/helpers.php: learndash_get_breadcrumbs () |
Gets the breadcrumbs hierarchy. |
includes/ld-misc-functions.php: learndash_post_updated_messages () |
Manages the post update message for legacy editor screen. |
includes/class-ld-cpt.php: SFWD_CPT::loop_shortcode () |
Shortcode that generates a list of items in this post type |
includes/class-ld-permalinks.php: LearnDash_Permalinks::comment_form_top () |
Action for comment form when nested URLs are enabled. This way the user is returned to this course step URL |
includes/shortcodes/ld_course_resume.php: ld_course_resume_shortcode () |
Builds the |
includes/rest-api/v1/class-ld-rest-posts-controller.php: LD_REST_Posts_Controller_V1::rest_prepare_response_filter () |
Override the REST response links. This is needed when Course Shared Steps is enabled. |
includes/course/ld-course-steps-functions.php: learndash_check_course_step () |
Validates the URL requests when nested URL permalinks are used. |
includes/course/ld-course-navigation.php: learndash_get_course_lessons_list () |
Gets the lesson list output for a course. |
includes/course/ld-course-navigation.php: learndash_get_course_quiz_list () |
Gets the quiz list output for a course. |
includes/course/ld-course-navigation.php: learndash_get_lesson_quiz_list () |
Gets the quiz list output for a lesson/topic. |
includes/course/ld-course-progress.php: learndash_next_lesson_quiz () |
Gets the next quiz for current lesson for a user. |
includes/course/ld-course-progress.php: learndash_quiz_redirect () |
Redirects the user after quiz completion. |
includes/course/ld-course-video.php: Learndash_Course_Video::add_video_to_content () |
Hook into the LearnDash template logic to insert the Video Progression output |
includes/course/ld-course-video.php: Learndash_Course_Video::learndash_completion_redirect () |
Redirect after Mark Complete is performed. |
includes/admin/classes-builders/class-learndash-admin-course-builder-metabox.php: Learndash_Admin_Metabox_Course_Builder::process_course_steps () |
Build course steps HTML. |
includes/admin/classes-builders/class-learndash-admin-quiz-builder-metabox.php: Learndash_Admin_Metabox_Quiz_Builder::process_quiz_questions () |
Build course steps HTML. |