Added method LLMS_Quiz::get_questions_count() for getting count of questions.
Added support for the upcoming “Question Bank” feature of the LifterLMS Advanced Quizzes add-on.
Updates and Enhancements
Added nocache_headers() to prevent browser caching for temporary redirects.
Bug Fixes
Added “Chaiyaphum” province for the Thailand. #2527
Developer Notes
Course Builder: Correctly get/set (and track changes of) Backbone’s model properties which are objects.
Added filter hook llms_admin_show_header to allow 3rd parties filtering whether or not to show the branded header in the admin.
Added filter llms_generator_new_post_data, to allow third parties to filter the data used when creating a new post while cloning/exporting a course or lesson.
Abstracted the LLMS_Admin_Setup_Wizard class, added the class LLMS_Abstract_Admin_Wizard.
Added filter llms_quiz_attempt_questions_randomize to enable/disable questions randomize.
Added filter llms_quiz_attempt_questions to modify the questions array for the quiz.
Added filter llms_quiz_questions_count to filter the quiz’s question count.
Strenghtened the “members only” products purchase prevention.
Updates and Enhancements
Replaced use of the deprecated FILTER_SANITIZE_STRING constant.
Improved compatibility with blockified WooCommerce templates.
Bug Fixes
Fixed an issue with the Divi builder when using the Divi module Woo Product Meta on a non product page.
Developer Notes
New methods added: LLMS_WC_Availability_Buttons::maybe_modify_blockified_add_to_cart_form(), LLMS_WC_Availability_Buttons::maybe_modify_blockified_product_grid_item(), LLMS_WC_Availability_Buttons::maybe_modify_blockified_loop_product_add_to_cart_link().
Added new function llms_wc_is_members_only_wc_product_restricted_for_user, to determine whether a product is only available for members only users and the current use can buy it.
The LifterLMS Core minimum required version has been raised to version 5.9.0.
Added filters llms_wc_user_can_buy_members_only_wc_product and llms_wc_user_not_already_enrolled_into_related_llms_products.
The minimum WordPress supported version is now 5.8, while the minimum WooCommerce supported version has been raised to 6.7.