LifterLMS Version 3.24.2
- Fix issue causing newline characters to be malformed on course builder description fields, resulting in
n
characters being output in strange places.
n
characters being output in strange places.[lifterlms_hide_content]
now accepts multiple IDs and can specify whether the user must belong to either all or any one of the specified memberships. Thanks @yojance!llms_voucher_used
, called when a voucher code is used, will now pass the voucher code as a 3rd parameter. Thanks @yojance!\
) to be removed from course elements (sections, lessons, quizzes, and assignments) constructed in the course builder.LLMS_Course->get_lessons()
methodstudent_id
as a parameter passed to the llms_student_get_progress
filterABSPATH
is defined to prevent direct template accessLLMS_Lesson->get_children_lessons()
in the LLMS_Course
and LLMS_Lesson
models as well as in the course/syllabus.php
templateLLMS_Section->get_percent_complete()
method to utilize methods from the LLMS_Student
model<tr>
element CSS classesLLMS_Abstract_Database_Store
classesget_option()
call to unused option lifterlms_logout_endpoint
which ran on WordPress initialization unnecessarily.LLMS_Section->get_children_lessons()
, use LLMS_Section->get_lessons( 'posts' )
insteadLLMS_Course->get_lessons()
methodstudent_id
as a parameter passed to the llms_student_get_progress
filterABSPATH
is defined to prevent direct template accessLLMS_Lesson->get_children_lessons()
in the LLMS_Course
and LLMS_Lesson
models as well as in the course/syllabus.php
templateLLMS_Section->get_percent_complete()
method to utilize methods from the LLMS_Student
model<tr>
element CSS classesLLMS_Abstract_Database_Store
classesLLMS_Section->get_children_lessons()
, use LLMS_Section->get_lessons( 'posts' )
insteadllms_access_plan
: Main hook for outputting an entire access plan within the pricing tablellms_before_access_plan
: Called before main content of access plan. Outputs the “Featured” area of plansllms_acces_plan_content
: Main access plan content. Outputs title, pricing info, restrictions, and descriptionllms_acces_plan_footer
: Called after main content. Outputs trial info and the checkout / enrollment buttonAdded filters to the returns of many of the functions in the LLMS_Acces_Plan
model.
LLMS_Access_Plan
modelLLMS_Access_Plan::is_available_to_user()
method..mo
files stored in the languages/lifterlms
safe directory from being loaded before files stored in the default location languages/plugins