SFWD_CPT_Instance::template_content( string $content )
Generate output for courses, lessons, topics, quizzes Filter callback for ‘the_content’ (wp core filter)
Determines what the user is currently looking at, sets up data, passes to template, and returns output.
(string) (Required) content of post.
(string) $content content of post
|includes/course/ld-activity-functions.php: learndash_activity_update_meta_set ()||
Update activity meta set.
|includes/course/ld-activity-functions.php: learndash_activity_start_lesson ()||
Set the lesson activity started record.
|includes/course/ld-activity-functions.php: learndash_activity_start_topic ()||
Set the topic activity started record.
|includes/course/ld-activity-functions.php: learndash_activity_start_course ()||
Set the course activity started record.
|includes/classes/class-ldlms-model-user-course-progress.php: learndash_user_progress_is_step_complete ()||
Utility function to get check if the course step is complete.
|includes/classes/class-ldlms-model-user-course-progress.php: learndash_user_progress_get_previous_incomplete_step ()||
Utility function to get the previous incomplete course step for user.
|includes/ld-certificates.php: learndash_get_group_certificate_link ()||
Get Group certificate link for user
|includes/ld-groups.php: learndash_get_group_courses_list ()||
Gets the list of enrolled courses for a group.
|includes/ld-groups.php: learndash_get_user_group_status ()||
Get User’s group status
Filter called just before template processing. Allows late determination if LearnDash template logic should be processed.
|includes/course/ld-course-functions.php: learndash_can_user_bypass ()||
Check if user can bypass action ($context).
|includes/course/ld-course-functions.php: learndash_is_course_prerequities_completed ()||
Checks if the user’s course prerequisites are completed for a given course.
|includes/ld-misc-functions.php: learndash_ob_get_clean ()||
Helper function for PHP output buffering.
|includes/settings/settings-functions.php: learndash_get_setting ()||
Gets the LearnDash setting for a post.
|includes/ld-misc-functions.php: learndash_get_option ()||
Gets the options for a particular post type and setting.
|includes/ld-misc-functions.php: learndash_is_sample ()||
Checks if a lesson, topic, or quiz is a sample or not.
|includes/ld-certificates.php: learndash_get_course_certificate_link ()||
Gets the course certificate link for the user.
|includes/class-ld-custom-label.php: learndash_get_custom_label_lower ()||
Utility function to get a custom field label lowercase.
|includes/class-ld-lms.php: SFWD_LMS::get_template ()||
Get LearnDash template and pass data to be used in template
|includes/ld-groups.php: learndash_is_user_in_group ()||
Checks whether a user is part of the group or not.
|includes/ld-users.php: learndash_get_user_course_points ()||
Gets the course points for a user.
|includes/class-ldlms-post-types.php: learndash_get_post_types ()|
|includes/class-ldlms-post-types.php: learndash_get_post_type_slug ()|
|includes/class-ld-cpt-instance.php: SFWD_CPT_Instance::get_archive_content ()||
Get Archive content
Remove the hook into the WP ‘the_content’ filter once we are in our handler. This will allow other templates to call the ‘the_content’ filter without causing recursion.
Filter to override previous step completed.
Filter content to be return inside div
|includes/course/ld-course-functions.php: learndash_process_lesson_topics_pager ()||
Processes the lesson topics pagination.
|includes/course/ld-course-steps-functions.php: learndash_course_get_completed_steps ()||
Gets the total completed steps for a given course progress array.
|includes/course/ld-course-steps-functions.php: learndash_course_get_single_parent_step ()||
Gets the single parent step ID for a given step ID in a course.
|includes/course/ld-course-functions.php: learndash_check_user_course_points_access ()||
Checks if a user can access course points.
|includes/course/ld-course-functions.php: learndash_get_course_points_access ()||
Gets the course points access for a given course ID.
|includes/course/ld-course-functions.php: learndash_get_course_prerequisites ()||
Gets the list of course prerequisites and its status for a course.
|includes/course/ld-course-functions.php: learndash_get_course_id ()||
Gets the course ID for a resource.
|includes/course/ld-course-user-functions.php: sfwd_lms_has_access ()||
Checks whether a user has access to a course.
|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-navigation.php: learndash_topic_dots ()||
Outputs the LearnDash topic dots.
|includes/course/ld-course-progress.php: learndash_lesson_progression_enabled ()||
Checks whether the lesson progression is enabled or not.
|includes/course/ld-course-progress.php: learndash_course_status ()||
Outputs the current status of the course.
|includes/course/ld-course-progress.php: learndash_is_quiz_notcomplete ()||
Checks whether a quiz is not completed for a user.
|includes/shortcodes/ld_quiz.php: learndash_quiz_shortcode ()||
Legacy function used when not calling the WordPress shortcode API.
|includes/course/ld-course-video.php: Learndash_Course_Video::get_instance ()||