4.24.0
2025-08-12 Feature1 Fix1 Tweak8Features
- Added the new Modern Lesson and Topic Pages, which can be toggled under LearnDash > Settings > General -> Appearance -> Course Page.
Fixes
- Resolved an issue where if a Lesson was marked as a Sample Lesson and was set to be available in the future, the content could be visible for not logged in users.
Tweaks
- Removed duplicated "has access" check for Modern Course and Group pages.
- Updated the styling for Alerts on Modern Course and Group pages.
- Updated the styling of the Progress Bar for Modern Course and Group pages.
- Added filters:
learndash_ld30_modern_lesson_show_header,learndash_ld30_modern_topic_show_header,learndash_mapper_models_step_map,learndash_mark_complete_input_button_html,learndash_mark_complete_timer_html,learndash_model_assignment_can_be_deleted,learndash_model_assignment_delete_url,learndash_model_assignment_download_url,learndash_model_assignment_is_approved,learndash_model_assignment_points_awarded,learndash_model_assignment_related_step,learndash_model_assignment_uploaded_file_name,learndash_model_course_is_complete,learndash_model_course_is_linear_progression_enabled,learndash_model_group_last_activity,learndash_model_settings,learndash_model_topic_lesson,learndash_model_{$post_type_key}_is_content_visible,learndash_model_{$post_type_key}_is_video_watched,learndash_model_{$post_type_key}_next_step,learndash_model_{$post_type_key}_parent_step,learndash_model_{$post_type_key}_previous_step,learndash_model_{$post_type_key}_requires_watching_video_after_sub_steps,learndash_model_{$post_type_key}_requires_watching_video_before_sub_steps,learndash_model_{$post_type_key}_user_has_access,learndash_model_{$this->get_post_type_key()}_approved_assignments_number,learndash_model_{$this->get_post_type_key()}_assignment_points_maximum,learndash_model_{$this->get_post_type_key()}_assignment_upload_limit_size,learndash_model_{$this->get_post_type_key()}_assignments_number,learndash_model_{$this->get_post_type_key()}_assignments,learndash_model_{$this->get_post_type_key()}_has_assignment_points_enabled,learndash_model_{$this->get_post_type_key()}_last_activity,learndash_model_{$this->get_post_type_key()}_maximum_assignments_number,learndash_model_{$this->get_post_type_key()}_requires_assignments,learndash_model_{$this->get_post_type_key()}_submittable_assignments_number,learndash_model_{$this->get_post_type_key()}_supported_assignment_file_mime_types,learndash_model_{$this->get_post_type_key()}_supported_assignment_file_types,learndash_model_{$this->get_post_type_key()}_topics,learndash_progression_bar_is_complete,learndash_progression_bar_should_show,learndash_template_alert_action_type,learndash_template_alert_button_icon,learndash_template_alert_icon,learndash_template_alert_id,learndash_template_alert_link_target,learndash_template_alert_link_text,learndash_template_alert_link_url,learndash_template_alert_message,learndash_template_alert_type,learndash_template_breadcrumb_id,learndash_template_breadcrumb_is_last,learndash_template_breadcrumb_label,learndash_template_breadcrumb_url,learndash_template_progression_step_back_to_course_label,learndash_template_progression_step_back_to_course_url,learndash_template_progression_step_is_course_completed,learndash_template_progression_step_is_just_completed,learndash_template_progression_step_next_label,learndash_template_progression_step_next_short_label,learndash_template_progression_step_next_url,learndash_template_progression_step_previous_incomplete_step,learndash_template_progression_step_previous_label,learndash_template_progression_step_previous_short_label,learndash_template_progression_step_previous_url,learndash_template_progression_step_show_next,learndash_template_tab_content,learndash_template_tab_icon,learndash_template_tab_id,learndash_template_tab_is_first,learndash_template_tab_label,learndash_template_tab_order,learndash_template_tab_template,learndash_template_tabs_sorted,learndash_template_views_alerts,learndash_template_views_breadcrumbs,learndash_template_views_course_alerts,learndash_template_views_course_progress_bar,learndash_template_views_group_alerts,learndash_template_views_group_progress_bar,learndash_template_views_lesson_alerts,learndash_template_views_lesson_breadcrumbs,learndash_template_views_lesson_progress_bar,learndash_template_views_lesson_tabs,learndash_template_views_topic_alerts,learndash_template_views_topic_breadcrumbs,learndash_template_views_topic_progress_bar,learndash_template_views_topic_tabs. - Deprecated templates:
themes/ld30/templates/modern/course/alerts/certificate.php,themes/ld30/templates/modern/course/alerts/index.php,themes/ld30/templates/modern/course/alerts/progress.php. - Updated filters:
learndash_ld30_modern_course_show_header,learndash_ld30_modern_group_show_header. - Updated functions:
learndash_course_get_step_completion_data,learndash_mark_complete,learndash_process_mark_incomplete. - Updated templates:
themes/ld30/templates/modern/course/accordion/final-quizzes/heading.php,themes/ld30/templates/modern/course/accordion/final-quizzes/index.php,themes/ld30/templates/modern/course/accordion/final-quizzes/quiz/attributes/index.php,themes/ld30/templates/modern/course/accordion/final-quizzes/quiz/index.php,themes/ld30/templates/modern/course/accordion/final-quizzes/quiz/title.php,themes/ld30/templates/modern/course/accordion/lessons/lesson/attributes/topics.php,themes/ld30/templates/modern/course/accordion/lessons/lesson/quizzes/quiz/attributes/index.php,themes/ld30/templates/modern/course/accordion/lessons/lesson/topics/index.php,themes/ld30/templates/modern/course/accordion/lessons/lesson/topics/topic/attributes/index.php,themes/ld30/templates/modern/course/accordion/lessons/lesson/topics/topic/index.php,themes/ld30/templates/modern/course/accordion/lessons/lesson/topics/topic/title.php,themes/ld30/templates/modern/course/alerts/certificate.php,themes/ld30/templates/modern/course/alerts/progress.php,themes/ld30/templates/modern/course/header.php,themes/ld30/templates/modern/group/alerts/certificate.php,themes/ld30/templates/modern/group/alerts/progress.php,themes/ld30/templates/modern/group/header.php.
