LLMS_AJAX_Handler
LLMS_AJAX_Handler class
Description Description
Source Source
File: includes/class.llms.ajax.handler.php
Changelog Changelog
Version | Description |
---|---|
3.4.0 | Unknown. |
3.39.0 | Minor code readability updates to the validate_coupon_code() method. |
3.37.2 | Update select2_query_posts to allow filtering posts by instructor. |
3.37.15 | Update get_admin_table_data() and export_admin_table() to verify user permissions before processing data. |
3.37.14 | Added persist_tracking_events() handler. Used strict comparison where needed. |
3.33.1 | Update llms_update_access_plans to use wp_unslash() before inserting access plan data. |
3.33.0 | Update update_student_enrollment to handle enrollment deletion requests, make sure the input array param 'post_id' field is not empty. Also always return either a WP_Error on failure or a "success" array on requested action performed. |
3.32.0 | Update select2_query_posts to use llms_filter_input() and allows for querying posts by post status(es). |
3.30.3 | Fixed spelling errors. |
3.30.0 | Added llms_save_membership_autoenroll_courses method. |
3.28.1 | Unknown. |
3.2.0 | Added get_admin_table_data() handler. |
3.15.0 | Added export_admin_table() handler, and other unknown changes. |
3.13.0 | Added instructors_mb_store() handler. |
3.0.0 | Added bulk_enroll_students() handler. |
1.0.0 | Introduced. |
Methods Methods
- add_lesson_to_course — Add a lesson to a course
- bulk_enroll_membership_into_course — Queue all members of a membership to be enrolled into a specific course
- bulk_enroll_students — Add or remove a student from a course or membership
- create_lesson — Create course's lesson.
- create_section — Create course's section.
- delete_access_plan — Move a Product Access Plan to the trash
- delete_course_section — Delete a course's section
- export_admin_table — Queue a table export event
- get_admin_table_data — Reload admin tables
- get_admin_table_instance — Retrieve a new instance of admin table class from a handler string.
- get_course_lesson — Get a course's lesson
- get_course_section — Get a course's section
- get_course_sections — Get course's sections
- get_lesson_options_for_select — Get the list of options for the lesson's select
- instructors_mb_store — Store data for the instructors metabox
- llms_builder — "API" for the Admin Builder
- llms_save_membership_autoenroll_courses — Save autoenroll courses list for a Membership
- llms_update_access_plans — AJAX handler for creating and updating access plans via the metabox on courses & memberships
- membership_remove_auto_enroll_course — Remove a course from the list of membership auto enrollment courses
- notifications_heartbeart — Handle notification display & dismissal
- persist_tracking_events — AJAX handler for persisting tracking events.
- query_students — Retrieve Students
- quiz_answer_question — AJAX Quiz answer question
- quiz_end — End a quiz attempt
- quiz_start — Start a Quiz Attempt
- remove_coupon_code — Remove a coupon from an order during checkout
- remove_course_lesson — Remove a lesson from a course
- select2_query_posts — Handle Select2 Search boxes for WordPress Posts by Post Type and Post Status.
- update_course_lesson — Update course's lesson
- update_course_section — Update a course's section
- update_lesson_order — Update section's lessons order
- update_section_order — Update course's sections order
- update_student_enrollment — Add or remove a student from a course or membership.
- validate_coupon_code — Validate a Coupon via the Checkout Form