Learndash_Admin_Metabox_Quiz_Builder
Class LearnDash Quiz Builder Metabox.
Description Description
Source Source
File: includes/admin/classes-builders/class-learndash-admin-quiz-builder-metabox.php
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |
Methods Methods
- __construct — Public constructor for class
- build_course_steps_html — Build Course Steps HTML.
- build_selector_pages_buttons — Common function to show Selector pager buttons.
- build_selector_pages_buttons_json — Common function to show Selector pager buttons.
- build_selector_query — Utility function to build the selector query args array.
- build_selector_row_single — Show selector single row.
- build_selector_rows — Show selector rows.
- build_selector_rows_json — Show selector rows.
- builder_admin_footer — Call via the WordPress admin_footer action hook.
- builder_init — Iniitialize builder for specific Quiz Item.
- builder_on_load — Call via the WordPress load sequence for admin pages.
- get_build_items_count — Get the number of current items in the builder.
- get_label_for_post_type — Utility function to get the label for Post Type.
- get_selector_selected_steps — Get the selected items for a post type.
- learndash_builder_selector_pager — Handle AJAX pager requests.
- learndash_builder_selector_search — Handle AJAX search requests.
- learndash_builder_selector_step_new — Handle AJAX new step requests.
- learndash_builder_selector_step_title — Handle AJAX set title requests.
- learndash_builder_selector_step_trash — Handle AJAX trash step requests.
- process_quiz_questions — Build course steps HTML.
- save_course_builder — Save Course Builder steps
- show_builder_box — Prints content for Quiz Builder meta box for admin This function is called from other add_meta_box functions
- show_builder_header_right — This function is empty on purpose and overrides the parent function with the same name. The purpose is to prevent the default output.