LLMS_Admin_Builder
LLMS_Admin_Builder class
Description Description
Source Source
File: includes/admin/class.llms.admin.builder.php
Changelog Changelog
Version | Description |
---|---|
3.38.2 | On quiz saving, made sure that a question as a type set, otherwise set it by default to 'choice' . |
3.38.0 | Improve backwards compatibility handling for the llms_get_quiz_theme_settings filter. |
3.37.12 | Refactored the process_trash() method. Added new filter, llms_builder_{$post_type}_force_delete to allow control of how post type deletion is handled when deleted via the builder. |
3.37.11 | Made method get_existing_posts_where() static. |
3.30.0 | Fixed issues related to custom field sanitization. |
3.13.0 | Introduced. |
Methods Methods
- admin_bar_menu — Add menu items to the WP Admin Bar to allow quiz returns to the dashboard from the course builder
- get_autosave_status — Retrieve the current user's builder autosave preferences
- get_custom_schemas — Retrieve custom field schemas
- get_existing_posts — Retrieve a list of lessons the current user is allowed to clone/attach
- get_existing_posts_where — Search lessons by search term during existing lesson lookups
- get_template — Retrieve the HTML of a JS template
- handle_ajax — A terrible Rest API for the course builder
- handle_post_locking — Do post locking stuff on the builder
- heartbeat_received — Handle AJAX Heartbeat received calls
- is_temp_id — Determine if an ID submitted via heartbeat data is a temporary id.
- modify_take_over_link — Modify the "Take Over" link on the post locked modal to send users to the builder when taking over a course
- output — Output the page content
- process_detachments — Process lesson detachments from the heartbeat data
- process_trash — Delete/trash elements from heartbeat data
- process_trash_item — Trash (or delete) a single item
- process_trash_item_non_post_type — Delete non-post type elements
- process_trash_item_post_type — Delete / Trash a post type
- process_updates — Process all the update data from the heartbeat
- update_custom_schemas — Handle updating custom schema data
- update_lessons — Update lesson from heartbeat data
- update_questions — Update quiz questions from heartbeat data
- update_quiz — Update quizzes during heartbeats
- update_section — Update a section with data from the heartbeat