Learndash_Admin_Question_Edit
Class LearnDash Admin Question Edit.
Description #
Source #
File: includes/admin/classes-posts-edits/class-learndash-admin-question-edit.php
Changelog #
Version | Description |
---|---|
2.6.0 | Introduced. |
Methods #
- __construct — Public constructor for class.
- add_metaboxes — Register metaboxes for Question editing
- admin_footer — Hook into the WP admin footer logic to add custom JavaScript to replace the default page title.
- answerPointDia — Display special answer points diagram.
- display_options — Filter the SFWD display options logic to set a default value for the Quiz.
- edit_post_post_type
- init_question_edit — Initialize the ProQuiz Question being edited.
- on_load — On Load handler function for this post type edit.
- question_answers_page_box — Shows the Question Answers metabox.
- question_category_proquiz_page_box — Shows the Question Category metabox.
- question_hint_page_box — Shows the Question Hint metabox.
- question_message_correct_answer_page_box — Shows the Question Correct Answer Message metabox.
- question_message_incorrect_answer_page_box — Shows the Question Incorrect Answer Message metabox.
- question_points_page_box — Shows the Question Points metabox.
- question_single_choice_options — Shows the Single Choice Question Options metabox.
- question_template_page_box — Shows the Question Template metabox.
- question_type_page_box — Shows the Question Types metabox.
- save_post — Save Question handler function.