4.21.0
2025-03-25 Feature1 Tweak7Features
- Added the new Modern Course Page, which can be toggled under LearnDash > Settings > General.
Tweaks
- Added the "Modern Registration Page" and "Modern Course Page" fields to the Site Health Info page in the admin.
- Migrated the LearnDash > Settings > Registration/Login - Appearance field to the General tab.
- Added functions:
learndash_registration_page_build_url. - Updated functions:
learndash_get_login_url,learndash_get_wrapper_class. - Added filters:
learndash_ld30_modern_course_show_header,learndash_ld30_modern_course_show_sidebar,learndash_model_course_award_certificate,learndash_model_course_award_points,learndash_model_course_certificate_link,learndash_model_course_has_awards,learndash_model_course_has_requirements,learndash_model_course_has_steps,learndash_model_course_lessons_number,learndash_model_course_lessons,learndash_model_course_product,learndash_model_course_quizzes_number,learndash_model_course_requirement_points,learndash_model_course_requirement_prerequisites,learndash_model_course_topics_number,learndash_model_setting,learndash_model_{$post_type_key}_available_on_date,learndash_model_{$post_type_key}_course,learndash_model_{$post_type_key}_is_attendance_required,learndash_model_{$post_type_key}_is_complete,learndash_model_{$post_type_key}_is_external,learndash_model_{$post_type_key}_is_in_person,learndash_model_{$post_type_key}_is_sample,learndash_model_{$post_type_key}_is_virtual,learndash_model_{$post_type_key}_quizzes_number,learndash_model_{$post_type_key}_quizzes,learndash_model_{$post_type_key}_steps_filter_by_visibility,learndash_model_{$post_type_key}_topics_number,learndash_payment_button_label_course,learndash_template_views_course_tabs,learndash_template_views_tabs,learndash_template_view_context,learndash_theme_supports_views`. - Updated filters:
learndash_model_product_type_label,learndash_wrapper_class. - Added actions:
learndash_version_downgraded_to_$version,learndash_version_downgraded,learndash_version_upgraded_to_$version,learndash_version_upgraded.
