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.
When a notice is shown for an access plan on the course edit screen (e.g. When using the WooCommerce integration and no product has been associated to the access plan.) Also display a warning icon next to the access plan title.
Made sure only who can view_others_lifterlms_reports will be able to see the analytics widget content in the WordPress admin.
Better rounding of float values on some reporting screens.
Avoid creating a post revision when cloning a course/lesson.
When creating pages via llms_create_pages(): strip all tags from the page title and slash the page data prior to inserting the page in the db via wp_insert_post() to prevent slashes from being stripped from the page title.
Updated the WordPress tested version up to 6.3.
Improved compatibility with the Divi theme by fixing an issue with the quiz attempt result clarifications not being visible when the Divi option Defer jQuery And jQuery Migrate was enabled. #2470
Bug Fixes
Fix spacer block when creating new certificate templates in WP 6.3.
Fixed PHP Warning when no course/membership catalog page was set or if the selected page doesn’t exist anymore. #2496
Don’t include WordPress default sidebar.php template when using a block theme. #2488